MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
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&20180306135412Request URI used by tileserver:tileserver.php?/normalmap/15/16540/12182.png
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