FHEMWEB: Escape \ and ' in attribtue values. Forum #23561
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5895 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -969,6 +969,8 @@ FW_doDetail($)
|
||||
$attrList =~ s/room /room:$roomList /;
|
||||
$attrList =~ s/group /group:$groupList /;
|
||||
$attrList = FW_widgetOverride($d, $attrList);
|
||||
$attrList =~ s/\\/\\\\/g;
|
||||
$attrList =~ s/'/\\'/g;
|
||||
FW_makeSelect($d, "attr", $attrList,"attr");
|
||||
|
||||
FW_makeTable("Attributes", $d, $attr{$d}, "deleteattr");
|
||||
|
||||
Reference in New Issue
Block a user