2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

98_GEOFANCY: trim incoming data to avoid trailing spaces

git-svn-id: https://svn.fhem.de/fhem/trunk@12623 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-11-21 19:33:05 +00:00
parent f92203e59f
commit c2881a1de0

View File

@ -202,7 +202,7 @@ sub GEOFANCY_CGI() {
$pv =~ s/%([\dA-F][\dA-F])/chr(hex($1))/ige;
my ( $p, $v ) = split( "=", $pv, 2 );
$webArgs->{$p} = $v;
$webArgs->{$p} = trim($v);
}
# validate id