<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Travis,</p>
    <p>I suspect the given TMS url is invalid. I don't believe you're
      allowed to have @ characters unencoded in a URL except for their
      explicit reserved use:</p>
    <p><a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/1856785/characters-allowed-in-a-url">https://stackoverflow.com/questions/1856785/characters-allowed-in-a-url</a></p>
    <p>Anything prefixing an @ character is considered to be
      username/password, with the hostname appearing after the @, thus
      the url parser thiks the hostname is "gmaps". I'd suggest the TMS
      URL needs to be fixed.<br>
    </p>
    <p>Cheers,</p>
    <p>Jonathan<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10/06/2019 17:26, Travis Kirstine
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALtm4h20SjTbVc3+385X1wr5u3BiJoi=HenXWkRu8zG5yuCvyg@mail.gmail.com">
      <div dir="ltr">I recently updated to mapproxy  1.12.0a-20190605
        and having issues with the parsing of the source tms url which
        contain an @ which is used in MapCache.  In the mapproxy log it
        appears the url path before the @ is removed resulting in 
        <div><br>
        </div>
        <div>"could not retrieve tile: No response from URL "<a
            href="http://gmaps/10/186/688.xxx" moz-do-not-send="true">http://gmaps/10/186/688.xxx</a>":
          Name or service not known"<br>
          <div><br>
          </div>
          <div>## source tms</div>
          <div>   lacombe_2015_tms:<br>
          </div>
          <div>      type: tile<br>
                  url: '<a
href="http://foobar.com/mapcache/tms/1.0.0/lacombe@gmaps/%%28tms_path%29s.xxx"
              moz-do-not-send="true">http://foobar.com/mapcache/tms/1.0.0/lacombe@gmaps/%(tms_path)s.xxx</a>'<br>
                  grid: spherical_mercator<br>
                  transparent: true<br>
                  on_error:<br>
                     404:<br>
                        response: transparent<br>
                        cache: false<br>
                  coverage:<br>
                     datasource: "PG: dbname='db' host='db' user='db'
            password='db'"<br>
                     where: 'SELECT boundary_3857 FROM layer WHERE id =
            314'<br>
                     srs: 'EPSG:3857'<br>
          </div>
          <div><br>
          </div>
          <div>This worked in version 1.10 and 1.11</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <!--'"--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
MapProxy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapproxy">https://lists.osgeo.org/mailman/listinfo/mapproxy</a></pre>
    </blockquote>
    <br>
  </body>
</html>