mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
suppress warning message
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6174 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e30ec0f8df
commit
3b657891fe
@ -228,7 +228,7 @@ FP_CGI(){
|
|||||||
$params[1] = $params[2];
|
$params[1] = $params[2];
|
||||||
}
|
}
|
||||||
my @htmlpart = split("\\?", $params[1]) if ($params[1]); # split URL by ? -> htmlpart[0] = FP_name, htmlpart[1] = commandstring
|
my @htmlpart = split("\\?", $params[1]) if ($params[1]); # split URL by ? -> htmlpart[0] = FP_name, htmlpart[1] = commandstring
|
||||||
if (!$htmlpart[1] && $htmlpart[0] !~ "\\?") { # in case of 'post' URL does not contain ?
|
if (!$htmlpart[1] && $htmlpart[0] && $htmlpart[0] !~ "\\?") { # in case of 'post' URL does not contain ?
|
||||||
$htmlpart[0] =~ /([a-z0-9.:_]+)&(.*)/i;
|
$htmlpart[0] =~ /([a-z0-9.:_]+)&(.*)/i;
|
||||||
$htmlpart[1] = $2 if ($2);
|
$htmlpart[1] = $2 if ($2);
|
||||||
$htmlpart[1] =~ s/\\+/&/g if ($htmlpart[1]);
|
$htmlpart[1] =~ s/\\+/&/g if ($htmlpart[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user