mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
01_FHEMWEB.pm: fix notification in rooms with strange characters (Forum #80390)
git-svn-id: https://svn.fhem.de/fhem/trunk@15536 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0a80a78beb
commit
e85b8f890b
@ -601,6 +601,7 @@ FW_initInform($$)
|
||||
$me->{inform}{filter} = ($FW_room ? $FW_room : ".*");
|
||||
}
|
||||
my $filter = $me->{inform}{filter};
|
||||
$filter =~ s/([[\]().+?])/\\$1/g if($filter =~ m/room=/); # Forum #80390
|
||||
$filter = "NAME=.*" if($filter eq "room=all");
|
||||
$filter = "room!=.+" if($filter eq "room=Unsorted");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user