Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
irrelevant
Description
If a device location contains a "/", the link on the dot in the SVG on the map will contain a non-escaped "/" and hence observium will return an error instead of the list of devices at the location.
html/pages/front/globe.php
35 if ($down > 0)
{ 36 $locations_down[] = "['".$location."', 100, '".implode(", ", $devices_down)."']"; 37 }else
{ 38 $locations_up[] = "['".$location."', 0, '".implode(", ", $devices_down)."']"; 39 }I suppose $location should be escaped.