Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Conversation

@piedmontlong
Copy link

No description provided.

daliborjanak and others added 30 commits May 3, 2016 23:36
This adds a configuration option for a prefix to the mbtiles, so you can
store the tiles in other locations.

It also changes the no tile found 404 to a 204, as the mapbox team will
be doing:
mapbox/mapbox-gl-js#1800 (comment)
Add prefix to mbtiles, return 204 on no tile
Fixed issue if HTTP_X_FORWARDED_PROTO is unset.
Removes body data from http 204 response
…er-php-psr2-lower-case-constant-values

Change PHP keywords to comply with PSR2
Resolved bug in transparent png tile
…in the layer name.

If the hostname contained the layer name (eg. https://layername.domain.com/layername/wmts) then the WMTS capabilities document contained an incorrect Resource URL because the hostname was stripped back to simply https://.  This modification simply looks for the last occurrence of the layer name instead of the first when forming the Resource URL.
Modified WMTS Resource URL generation to support hostnames that contain the layer name.
* Fix XSS

* Check if requested tile resides inside the current directory

* Add input validation for "renderTile"

* Use floatval instead of "int" for casting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.