[Tile-serving] [openstreetmap/mod_tile] Fix `DEFAULT_ATTRIBUTION` value and add tests (PR #360)
Hummeltech
notifications at github.com
Tue Dec 12 18:17:09 UTC 2023
The value for `DEFAULT_ATTRIBUTION` in `includes/mod_tile.h` needed to be escaped, it was causing a JSON parsing failure.
* Added basic test for `/.../.../tile-layer.json` to ensure parsing is successful
* Added basic tests for `/metrics` & `/mod_tile` URLs
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/mod_tile/pull/360
-- Commit Summary --
* Fix DEFAULT_ATTRIBUTION breaking JSON
* Add tests for `/metrics`, `/mod_tile` & `/././tile-layer.json`
-- File Changes --
M .github/actions/dependencies/install/action.yml (10)
M includes/mod_tile.h (2)
M tests/CMakeLists.txt (93)
-- Patch Links --
https://github.com/openstreetmap/mod_tile/pull/360.patch
https://github.com/openstreetmap/mod_tile/pull/360.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/360
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/mod_tile/pull/360 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20231212/87372d92/attachment.htm>
More information about the Tile-serving
mailing list