2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

"Edit files" bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@637 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2010-05-24 17:02:37 +00:00
parent 5e07caabb5
commit 21bcbbbb8e

View File

@ -395,7 +395,7 @@ FW_digestCgi($)
%__pos = ();
$__room = "";
$arg =~ s/^\?//;
$arg =~ s,^[?/],,;
foreach my $pv (split("&", $arg)) {
$pv =~ s/\+/ /g;
$pv =~ s/%(..)/chr(hex($1))/ge;
@ -403,7 +403,6 @@ FW_digestCgi($)
# Multiline: escape the NL for fhem
$v =~ s/[\r]\n/\\\n/g if($v && $p && $p ne "data");
#Log(0, "P: $p, V: $v");
if($p eq "detail") { $__detail = $v; }
if($p eq "room") { $__room = $v; }