[MapProxy] URL with @ symbol in mapproxy.yaml
tonnhofer at omniscale.de
Tue Jan 9 23:18:07 PST 2018
@ is the separator for username and password.
Can you try with http://@localhost/tiles/%(tms_path)s/whatever at 2x.png or http://:@localhost/tiles/%(tms_path)s/whatever at 2x.png?
Oliver Tonnhofer | Omniscale GmbH & Co KG | https://omniscale.com
OpenStreetMap WMS and tile services | https://maps.omniscale.com
> On 10. Jan 2018, at 02:12, Ben Field <ben at geocaching.com> wrote:
> When defining a tile source in mapproxy.yaml that has an @ in the URL parameter, it's effectively hosing everything preceding it.
> For example, if the URL is defined like this:
> url: http://localhost/tiles/%(tms_path)s/whatever at 2x.png
> MapProxy will generate the following error:
> No response from URL "http://2x.png": Name or service not known
> I tried escaping it, but that didn't work. Is this a bug or is there some way to use the @ symbol in the URL? This issue didn't exist in MapProxy v1.9.0.
> MapProxy mailing list
> MapProxy at lists.osgeo.org
More information about the MapProxy