[MapProxy] URL with @ symbol in mapproxy.yaml

Oliver Tonnhofer tonnhofer at omniscale.de
Tue Jan 9 23:18:07 PST 2018


Hi,

@ 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?

Regards,
Oliver

-- 
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
> https://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list