X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4cfeeb06ba828c94115f9496004a7a13cd8e1a03..02c219d40e567cc42576648fc1b459078dc95897:/website/search.php diff --git a/website/search.php b/website/search.php index 872d9801..a9e20d4e 100755 --- a/website/search.php +++ b/website/search.php @@ -87,7 +87,7 @@ } else { if (!(isset($_GET['q']) && $_GET['q']) && isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'][0] == '/') { - $sQuery = substr($_SERVER['PATH_INFO'], 1); + $sQuery = substr(rawurldecode($_SERVER['PATH_INFO']), 1); // reverse order of '/' separated string $aPhrases = explode('/', $sQuery);