01_FHEMWEB.pm: readigsGroup-longpoll fix (Forum #70844,70608)

git-svn-id: https://svn.fhem.de/fhem/trunk@14056 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-04-21 07:16:52 +00:00
parent fa6652ce05
commit e106cfefed

View File

@@ -2849,7 +2849,7 @@ FW_Notify($$)
next; #ignore 'set' commands next; #ignore 'set' commands
} }
my ($readingName,$readingVal) = split(": ",$events->[$i],2); my ($readingName,$readingVal) = split(": ",$events->[$i],2);
next if($readingName !~ m/^[A-Za-z\d_\.\-\/]+$/); # Forum #70608 next if($readingName !~ m/^[A-Za-z\d_\.\-\/:]+$/); # Forum #70608,70844
push @data, FW_longpollInfo($h->{fmt}, push @data, FW_longpollInfo($h->{fmt},
"$dn-$readingName", $readingVal,$readingVal); "$dn-$readingName", $readingVal,$readingVal);
push @data, FW_longpollInfo($h->{fmt}, "$dn-$readingName-ts", $tn, $tn); push @data, FW_longpollInfo($h->{fmt}, "$dn-$readingName-ts", $tn, $tn);