mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +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:
parent
e6d6ba859b
commit
bedf3e9061
@ -180,7 +180,7 @@ sub GEOFANCY_CGI() {
|
|||||||
my $locName = "";
|
my $locName = "";
|
||||||
|
|
||||||
# data received
|
# data received
|
||||||
if ( $request =~ m,^(/[^/]+?)(?:\&|\?)(.*)?$, ) {
|
if ( $request =~ m,^(\/[^/]+?)(?:\&|\?|\/\?|\/)(.*)?$, ) {
|
||||||
$link = $1;
|
$link = $1;
|
||||||
$URI = $2;
|
$URI = $2;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user