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:
parent
5e07caabb5
commit
21bcbbbb8e
@ -395,7 +395,7 @@ FW_digestCgi($)
|
|||||||
%__pos = ();
|
%__pos = ();
|
||||||
$__room = "";
|
$__room = "";
|
||||||
|
|
||||||
$arg =~ s/^\?//;
|
$arg =~ s,^[?/],,;
|
||||||
foreach my $pv (split("&", $arg)) {
|
foreach my $pv (split("&", $arg)) {
|
||||||
$pv =~ s/\+/ /g;
|
$pv =~ s/\+/ /g;
|
||||||
$pv =~ s/%(..)/chr(hex($1))/ge;
|
$pv =~ s/%(..)/chr(hex($1))/ge;
|
||||||
@ -403,7 +403,6 @@ FW_digestCgi($)
|
|||||||
|
|
||||||
# Multiline: escape the NL for fhem
|
# Multiline: escape the NL for fhem
|
||||||
$v =~ s/[\r]\n/\\\n/g if($v && $p && $p ne "data");
|
$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 "detail") { $__detail = $v; }
|
||||||
if($p eq "room") { $__room = $v; }
|
if($p eq "room") { $__room = $v; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user