tileserver-php icon indicating copy to clipboard operation
tileserver-php copied to clipboard

Removes trailing query parameters

Open ibesora opened this issue 7 years ago • 0 comments

When tiles are requested with a query parameter (to avoid their caching by the browser for example) tileserver.php answers with an empty image. This PR removes all the query parameters from the first & to the end of the request URI so it works as expected.

Example: Browser request: tileserver.php?/normalmap/15/16540/12182.png&20180306135412 Request URI used by tileserver: tileserver.php?/normalmap/15/16540/12182.png

ibesora avatar Mar 06 '18 12:03 ibesora