mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
10_MQTT2_DEVICE.pm: try to handle \s in topic (Forum #107206)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20964 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e26e75e2dc
commit
64e3ca1bf9
@ -249,6 +249,7 @@ MQTT2_DEVICE_Parse($$)
|
||||
}
|
||||
|
||||
$topic =~ s,([\^\$\[\]()\.\\]),\\$1,g;
|
||||
$topic =~ s,\s,.,g;
|
||||
|
||||
for my $ch (@{$cidArr}) {
|
||||
my $nn = $ch->{NAME};
|
||||
|
Loading…
x
Reference in New Issue
Block a user