2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 19:32:42 +00:00

98_GEOFANCY.pm: make URI parsing more flexible

git-svn-id: https://svn.fhem.de/fhem/trunk@11331 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-04-27 18:16:08 +00:00
parent e6d6ba859b
commit bedf3e9061

View File

@ -180,7 +180,7 @@ sub GEOFANCY_CGI() {
my $locName = "";
# data received
if ( $request =~ m,^(/[^/]+?)(?:\&|\?)(.*)?$, ) {
if ( $request =~ m,^(\/[^/]+?)(?:\&|\?|\/\?|\/)(.*)?$, ) {
$link = $1;
$URI = $2;