mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
Space will be escaped in the room list.
git-svn-id: https://svn.fhem.de/fhem/trunk@1307 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
716f7befec
commit
d85d4a95a6
@ -568,6 +568,7 @@ FW_digestCgi($)
|
||||
|
||||
# Multiline: escape the NL for fhem
|
||||
$v =~ s/[\r]\n/\\\n/g if($v && $p && $p ne "data");
|
||||
$v =~ s/%([0-9A-F][0-9A-F])/sprintf("%c", $1)/gi;
|
||||
$FW_webArgs{$p} = $v;
|
||||
|
||||
if($p eq "detail") { $FW_detail = $v; }
|
||||
@ -808,7 +809,10 @@ FW_roomOverview($)
|
||||
foreach my $r (sort keys %FW_rooms) {
|
||||
next if($r eq "hidden" || $FW_hiddenroom{$r});
|
||||
$FW_room = $r if(!$FW_room && $FW_ss);
|
||||
$r =~ s/</</g;
|
||||
$r =~ s/>/</g;
|
||||
push @list1, $r;
|
||||
$r =~ s/ /%20/g;
|
||||
push @list2, "$FW_ME?room=$r";
|
||||
}
|
||||
my @list = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user