<div dir="ltr"><div>That results in an internal error:  "TypeError: not enough arguments for format string".</div><div><br></div><div>But that made me try this:</div><div><a href="http://localhost/tiles/%(tms_path)s/whatever%%402x.png">http://localhost/tiles/%(tms_path)s/whatever%%402x.png</a><br></div><div><br></div><div>And that works.  Thanks for the assistance.<br></div><div><br></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:8pt;font-family:Corbel,sans-serif;color:rgb(38,38,38)"><br></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 11, 2018 at 12:17 PM, Denis Rykov <span dir="ltr"><<a href="mailto:rykovd@gmail.com" target="_blank">rykovd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Could you try such URL format:<br>
<a href="http://localhost/tiles/%(tms_path)s/whatever%402x.png" rel="noreferrer" target="_blank">http://localhost/tiles/%(tms_<wbr>path)s/whatever%402x.png</a>?<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
On Wed, Jan 10, 2018 at 8:12 AM, Ben Field <<a href="mailto:ben@geocaching.com">ben@geocaching.com</a>> wrote:<br>
> When defining a tile source in mapproxy.yaml that has an @ in the URL<br>
> parameter, it's effectively hosing everything preceding it.<br>
><br>
> For example, if the URL is defined like this:<br>
><br>
> url: <a href="http://localhost/tiles/%(tms_path)s/whatever@2x.png" rel="noreferrer" target="_blank">http://localhost/tiles/%(tms_<wbr>path)s/whatever@2x.png</a><br>
><br>
><br>
> MapProxy will generate the following error:<br>
><br>
> No response from URL "<a href="http://2x.png" rel="noreferrer" target="_blank">http://2x.png</a>": Name or service not known<br>
><br>
><br>
> I tried escaping it, but that didn't work.  Is this a bug or is there some<br>
> way to use the @ symbol in the URL?  This issue didn't exist in MapProxy<br>
> v1.9.0.<br>
><br>
><br>
><br>
><br>
><br>
</div></div><div class="gmail-HOEnZb"><div class="gmail-h5">> ______________________________<wbr>_________________<br>
> MapProxy mailing list<br>
> <a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/mapproxy</a><br>
</div></div></blockquote></div><br></div></div>