<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: KML Layer utility decodes URL invalidating the file access in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-layer-utility-decodes-url-invalidating-the/m-p/211602#M19547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We encountered this same issue with Signed URL's from Amazon S3. The workaround we found was to keep generating a new URL (with a new signature string) until it contained no encoded plus signs (%2B), since those are likely being interpreted as spaces by the proxy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Sep 2014 21:27:46 GMT</pubDate>
    <dc:creator>DanielWalton</dc:creator>
    <dc:date>2014-09-28T21:27:46Z</dc:date>
    <item>
      <title>KML Layer utility decodes URL invalidating the file access</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-layer-utility-decodes-url-invalidating-the/m-p/211601#M19546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: erichcline&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a KML files hosted in Windows Azure which provides an access url. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example download URL provided by Azure: (expires)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
https://atlasuserdata.blob.core.windows.net/erich-elaineintegralgis-onmicrosoft-com/hiking.kml?sv=2013-08-15&amp;amp;sr=b&amp;amp;sig=6ChtkDZig5Zwa75ECUPt%2FlNPKQKGLoh62%2BaE%2B8f8f0c%3D&amp;amp;st=2014-05-07T23:54:48Z&amp;amp;se=2014-05-08T00:59:48Z&amp;amp;sp=r&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The KML Utility process decodes the URL and sig attribute which invalidates the Azure download.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;URL &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
https://utility.arcgis.com/sharing/kml?url=https%3A%2F%2Fatlasuserdata.blob.core.windows.net%2Ferich-elaineintegralgis-onmicrosoft-com%2Fhiking.kml%3Fsv%3D2013-08-15%26sr%3Db%26sig%3D6ChtkDZig5Zwa75ECUPt%2FlNPKQKGLoh62%2BaE%2B8f8f0c%3D%26st%3D2014-05-07T23%3A54%3A48Z%26se%3D2014-05-08T00%3A59%3A48Z%26sp%3Dr&amp;amp;model=simple&amp;amp;folders=&amp;amp;outSR=%7B%22wkid%22%3A4326%7D&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript2._jsonpCallback
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the download url contains a sig attribute that Azure uses to authenticate the download.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;encoded:&amp;nbsp; sig=6ChtkDZig5Zwa75ECUPt%2FlNPKQKGLoh62%2BaE%2B8f8f0c%3D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;decoded:&amp;nbsp; sig=6ChtkDZig5Zwa75ECUPt/lNPKQKGLoh62+aE+8f8f0c=&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This makes the publicly facing KML download fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know a way around this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-layer-utility-decodes-url-invalidating-the/m-p/211601#M19546</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: KML Layer utility decodes URL invalidating the file access</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-layer-utility-decodes-url-invalidating-the/m-p/211602#M19547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We encountered this same issue with Signed URL's from Amazon S3. The workaround we found was to keep generating a new URL (with a new signature string) until it contained no encoded plus signs (%2B), since those are likely being interpreted as spaces by the proxy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Sep 2014 21:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-layer-utility-decodes-url-invalidating-the/m-p/211602#M19547</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2014-09-28T21:27:46Z</dc:date>
    </item>
  </channel>
</rss>

