98_SVG.pm: fix & in roomname when zooming (Forum #89702)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17038 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-07-27 17:39:50 +00:00
parent 169313d014
commit 948c6c4c92

View File

@ -561,8 +561,8 @@ SVG_zoomLink($$$)
my ($d,$off) = split("=", $cmd, 2);
my $val = $FW_pos{$d};
$cmd = ($FW_detail ? "detail=$FW_detail":
($prf ? $prf : "room=$FW_room")) . "&pos=";
$cmd = ($FW_detail ? "detail=".urlEncode($FW_detail):
($prf ? $prf : "room=".urlEncode($FW_room))) . "&pos=";
if($d eq "zoom") {
my $n = 0;