2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 07:16:03 +00:00

33_readingsGroup.pm: allow / in readingNames for webCmd check

git-svn-id: https://svn.fhem.de/fhem/trunk@8158 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-03-06 10:16:46 +00:00
parent 345d31c4a0
commit ce6a4f8a5b

View File

@ -608,7 +608,7 @@ readingsGroup_2html($;$)
my $webCmdFn = 0; my $webCmdFn = 0;
my $cmd = lookup2($hash->{helper}{commands},$name,$d,$txt); my $cmd = lookup2($hash->{helper}{commands},$name,$d,$txt);
if( $cmd && $cmd =~ m/^([\w.-]*):(\S*)?(\s\S*)?$/ ) { if( $cmd && $cmd =~ m/^([\w\/.-]*):(\S*)?(\s\S*)?$/ ) {
my $set = $1; my $set = $1;
my $values = $2; my $values = $2;
$set .= $3 if( $3 ); $set .= $3 if( $3 );
@ -770,7 +770,7 @@ readingsGroup_2html($;$)
if( !$devStateIcon ) { if( !$devStateIcon ) {
$cmd = lookup2($hash->{helper}{commands},$name,$n,$v) if( !$devStateIcon ); $cmd = lookup2($hash->{helper}{commands},$name,$n,$v) if( !$devStateIcon );
if( $cmd && $cmd =~ m/^([\w.-]*):(\S*)?(\s\S*)?$/ ) { if( $cmd && $cmd =~ m/^([\w\/.-]*):(\S*)?(\s\S*)?$/ ) {
my $set = $1; my $set = $1;
my $values = $2; my $values = $2;
$set .= $3 if( $3 ); $set .= $3 if( $3 );