oobrien / oomap

OpenOrienteeringMap. Includes the website, tiling scripts, and mapnik stylesheets for OOMap and other raster tile layers.
GNU General Public License v2.0
45 stars 8 forks source link

URL parameters for the map PDF download - use & not | #71

Closed oobrien closed 1 year ago

oobrien commented 3 years ago

Join the rest of the world in using & rather than | as my URL parameters, because some email clients will URL encode | as %27, which is perfectly valid but breaks my renderer.

Or convert %27 to | when parsing the URL string in the renderer

cadnant commented 3 years ago

Already fixed - in maptiler/www/oomf.py "&", "|" and "%27" all work. https://github.com/oobrien/oomap/commit/90c40529ad7e417ed45fe5d8db32bbe98c1acc1d 😀

cadnant commented 1 year ago

Although "|" is still used, URL-encoding is accepted by the renderer and "&" will also work if used. Therefore consider this fixed.