Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report_network_map.php -> SVG error link port with slashe #1568

Open
alex001x opened this issue Oct 12, 2024 · 1 comment
Open

Report_network_map.php -> SVG error link port with slashe #1568

alex001x opened this issue Oct 12, 2024 · 1 comment

Comments

@alex001x
Copy link

Describe the bug
To Reproduce
Steps to reproduce the behavior:
Report -> report network map
2. Select Cabinet
3. Select svg
4. See error in link port data,

Expected behavior
the generated link is https://myproject.comdevices.php/?DeviceID=5997 it should have been https://myproject.com/devices.php?DeviceID=5997
problem with slash after https://myproject.comdevices.php to move after https://myproject.com

Screenshots
image

@alex001x
Copy link
Author

alex001x commented Oct 12, 2024

InstallURL with ou without slashe
without / causes the error
I send à fix in report_network_map.php
$baseURI = rtrim($config->ParameterArray["InstallURL"], '/') . '/'; // control if InstallURL with "/"
add in line 291
alex001x:patch-4
;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant