opendcim/openDCIM

Drawings link is broken

Closed this issue · 1 comments

Hello,
I think in db_stats.php line 106 urlencode command break the link url since it contains the path of the image and path separator must not be converted.

$mapfile=$config->ParameterArray["drawingpath"] . $dc->DrawingFileName;
...
$mapHTML="<div class=\"canvas\" style=\"background-image: url('".urlencode($mapfile)."')\">