2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 07:19:24 +00:00

01_FHEMWEB.pm: urlencode links for IE11 (Forum #48615)

git-svn-id: https://svn.fhem.de/fhem/trunk@10742 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-02-06 15:53:12 +00:00
parent 0bcfc23082
commit c29a9ada82

View File

@ -759,7 +759,7 @@ FW_answerCall($)
if($docmd && !$FW_cmdret && AttrVal($FW_wname, "redirectCmds", 1)) {
my $tgt = $FW_ME;
if($FW_detail) { $tgt .= "?detail=$FW_detail&fw_id=$FW_id" }
elsif($FW_room) { $tgt .= "?room=$FW_room&fw_id=$FW_id" }
elsif($FW_room) { $tgt .= "?room=".urlEncode($FW_room)."&fw_id=$FW_id" }
else { $tgt .= "?fw_id=$FW_id" }
TcpServer_WriteBlocking($me,
"HTTP/1.1 302 Found\r\n".
@ -1336,10 +1336,9 @@ FW_roomOverview($)
if(!$FW_room && $FW_ss);
my $lr = $r;
$lr =~ s/</&lt;/g;
$lr =~ s/>/&lt;/g;
$lr =~ s/>/&gt;/g;
push @list1, $lr;
$lr =~ s/ /%20/g;
push @list2, "$FW_ME?room=$lr";
push @list2, "$FW_ME?room=".urlEncode($r);
}
my @list = (
"Everything", "$FW_ME?room=all",