mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 15:04:51 +00:00
01_FHEMWEB.pm: move inform regexp escaping to fhemweb.js (Forum #128362,#128442)
git-svn-id: https://svn.fhem.de/fhem/trunk@26246 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
adf63a72dd
commit
0f46db5567
@ -680,7 +680,7 @@ FW_initInform($$)
|
|||||||
$FW_id2inform{$FW_id} = $me if($FW_id);
|
$FW_id2inform{$FW_id} = $me if($FW_id);
|
||||||
|
|
||||||
my $filter = $me->{inform}{filter};
|
my $filter = $me->{inform}{filter};
|
||||||
$filter =~ s/([[\]().+*?])/\\$1/g; #80390, #128362
|
# Regexp escaping moved to fhemweb.js (#80390, #128362, #128442 )
|
||||||
$filter = "NAME=.*" if($filter eq "room=all");
|
$filter = "NAME=.*" if($filter eq "room=all");
|
||||||
$filter = "room!=.+" if($filter eq "room=Unsorted");
|
$filter = "room!=.+" if($filter eq "room=Unsorted");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user