mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 23:46:03 +00:00
FHEMWEB: Escape \ and ' in attribtue values. Forum #23561
git-svn-id: https://svn.fhem.de/fhem/trunk@5895 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1c3b2511be
commit
a68a84f8d4
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user