FHEMWEB: delete second \ when editing with DEF

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4292 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-11-27 20:50:06 +00:00
parent 9c723b02fb
commit 9c8231c0ec

View File

@@ -661,7 +661,7 @@ FW_digestCgi($)
my ($p,$v) = split("=",$pv, 2);
# Multiline: escape the NL for fhem
$v =~ s/[\r]\n/\\\n/g if($v && $p && $p ne "data");
$v =~ s/[\r]//g if($v && $p && $p ne "data");
$FW_webArgs{$p} = $v;
if($p eq "detail") { $FW_detail = $v; }