<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1518: CKAN Upload fails if filename has spaces in it</title>
    <link>http://localhost/ticket/1518</link>
    <description>&lt;p&gt;
E.g. uploading a file with spaces in it:
OECD Monthly Exchange Rates.zip
&lt;/p&gt;
&lt;p&gt;
Gives a 404 Not Found response to the following file:
&lt;a class="ext-link" href="http://test.ckan.org/api/storage/metadata/2011-12-05T193046/OECD%20Monthly%20Exchange%20Rates.zip"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://test.ckan.org/api/storage/metadata/2011-12-05T193046/OECD%20Monthly%20Exchange%20Rates.zip&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The upload wheel keeps spinning and the user is not informed that the upload has failed.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1518</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Wed, 07 Dec 2011 15:54:16 GMT</pubDate>
      <title>priority, status, repo changed; owner, milestone set</title>
      <link>http://localhost/ticket/1518#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1518#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;rgrp&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;major&lt;/em&gt; to &lt;em&gt;critical&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;repo&lt;/strong&gt;
                changed from &lt;em&gt;ckanext-upload&lt;/em&gt; to &lt;em&gt;ckanext-storage&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;current-ckan-sprint-2011-12-19&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Tue, 13 Dec 2011 07:17:36 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1518#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1518#comment:2</guid>
      <description>
        &lt;p&gt;
Debug via js console revealed the problem: Google storage replaces spaces with +.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Tue, 13 Dec 2011 07:30:38 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1518#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1518#comment:3</guid>
      <description>
        &lt;p&gt;
Further investigation shows that:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Spaces and any other characters work fine with local file storagfe
&lt;/li&gt;&lt;li&gt;Google escapes other non-url allowed characters (so should work fine)
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Tue, 13 Dec 2011 07:40:23 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1518#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1518#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1518?action=diff&amp;amp;version=4"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Tue, 13 Dec 2011 07:45:04 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1518#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/1518#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Fixed in &lt;a class="ext-link" href="https://github.com/okfn/ckan/commit/3b209af3656851e560aeb4d6f5563f05897c8f01"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/okfn/ckan/commit/3b209af3656851e560aeb4d6f5563f05897c8f01&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Thu, 23 Feb 2012 18:12:22 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1518#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/1518#comment:6</guid>
      <description>
        &lt;p&gt;
Fix went into CKAN 1.6
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>