<?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 bug(?) in content-disposition response header in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/bug-in-content-disposition-response-header/m-p/189091#M8057</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm a developer attempting to&amp;nbsp;use APIv2&amp;nbsp;to make a web integration.&amp;nbsp;Currently, I'm on rails trying to use the method&amp;nbsp;&lt;A class="scroll-nav__link" href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" rel="nofollow noreferrer" target="_blank"&gt;/get_temporary_link&lt;/A&gt;&amp;nbsp;to get a link&amp;nbsp;to upload a file as a paperclip asset (using the very popular thoughtbot/paperclip gem).&lt;/P&gt;
&lt;P&gt;Having some issues and I noticed the `filename` in the `content-disposition` response header is not being returned as a quoted string, e.g.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to RFC 2616 (&lt;A href="https://tools.ietf.org/html/rfc2616#section-19.5.1" target="_blank" rel="nofollow noreferrer"&gt;https://tools.ietf.org/html/rfc2616#section-19.5.1&lt;/A&gt;) the filename parameter should be a quoted string. Essentially:&lt;/P&gt;
&lt;P&gt;THIS IS CORRECT&lt;BR /&gt;Content-Disposition: attachment; filename="purse_red.jpeg"&lt;BR /&gt;&lt;BR /&gt;THIS IS NOT CORRECT (AND CURRENT IN APIv2)&lt;BR /&gt;Content-Disposition: attachment; filename=purse_red.jpeg&lt;/P&gt;
&lt;P&gt;Is this a tiny bug we can show some love? =P&lt;/P&gt;
&lt;P&gt;Cheers&lt;BR /&gt;epylinkn&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CURL example in case it helps:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;```&lt;BR /&gt;&lt;/SPAN&gt;$ curl -I &lt;A href="https://dl.dropboxusercontent.com/apitl/1/AABEjWHkjnPKJ0NrtkvkFYXotbSY_-0yZCchBZ-fvbD3dX3R05MALM_w9trebEG-2nNaYLUcOXp3BGFafuGBHvxnMMEGyUkQn6vH8T0AQesOMnkr3QkWzFPiPeHjG6QvXW41aGQYa9gWWypNoyr6X63bhJiw-nNLIq0tuqp4IB8ifBz-JaXK3zalY_Lhc4f4hTtbGatHftuKI5ZV9asdoD1RjgXpjnAnceqp3opC--A60fMmCoeeY3Y_ZOVzZMX-3bo" rel="nofollow noreferrer" target="_blank"&gt;https://dl.dropboxusercontent.com/apitl/1/AABEjWHkjnPKJ0NrtkvkFYXotbSY_-0yZCchBZ-fvbD3dX3R05MALM_w9trebEG-2nNaYLUcOXp3BGFafuGBHvxnMMEGyUkQn6vH8T0AQesOMnkr3QkWzFPiPeHjG6QvXW41aGQYa9gWWypNoyr6X63bhJiw-nNLIq0tuqp4IB8ifBz-JaXK3zalY_Lhc4f4hTtbGatHftuKI5ZV9asdoD1RjgXpjnAnceqp3opC--A60fMmCoeeY3Y_ZOVzZMX-3bo&lt;/A&gt; | grep content-disposition&lt;/P&gt;
&lt;P&gt;content-disposition: attachment; filename=purse_red.jpeg&lt;BR /&gt;```&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:30:09 GMT</pubDate>
    <dc:creator>Anthony B.14</dc:creator>
    <dc:date>2019-05-29T09:30:09Z</dc:date>
    <item>
      <title>bug(?) in content-disposition response header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/bug-in-content-disposition-response-header/m-p/189091#M8057</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm a developer attempting to&amp;nbsp;use APIv2&amp;nbsp;to make a web integration.&amp;nbsp;Currently, I'm on rails trying to use the method&amp;nbsp;&lt;A class="scroll-nav__link" href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" rel="nofollow noreferrer" target="_blank"&gt;/get_temporary_link&lt;/A&gt;&amp;nbsp;to get a link&amp;nbsp;to upload a file as a paperclip asset (using the very popular thoughtbot/paperclip gem).&lt;/P&gt;
&lt;P&gt;Having some issues and I noticed the `filename` in the `content-disposition` response header is not being returned as a quoted string, e.g.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to RFC 2616 (&lt;A href="https://tools.ietf.org/html/rfc2616#section-19.5.1" target="_blank" rel="nofollow noreferrer"&gt;https://tools.ietf.org/html/rfc2616#section-19.5.1&lt;/A&gt;) the filename parameter should be a quoted string. Essentially:&lt;/P&gt;
&lt;P&gt;THIS IS CORRECT&lt;BR /&gt;Content-Disposition: attachment; filename="purse_red.jpeg"&lt;BR /&gt;&lt;BR /&gt;THIS IS NOT CORRECT (AND CURRENT IN APIv2)&lt;BR /&gt;Content-Disposition: attachment; filename=purse_red.jpeg&lt;/P&gt;
&lt;P&gt;Is this a tiny bug we can show some love? =P&lt;/P&gt;
&lt;P&gt;Cheers&lt;BR /&gt;epylinkn&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CURL example in case it helps:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;```&lt;BR /&gt;&lt;/SPAN&gt;$ curl -I &lt;A href="https://dl.dropboxusercontent.com/apitl/1/AABEjWHkjnPKJ0NrtkvkFYXotbSY_-0yZCchBZ-fvbD3dX3R05MALM_w9trebEG-2nNaYLUcOXp3BGFafuGBHvxnMMEGyUkQn6vH8T0AQesOMnkr3QkWzFPiPeHjG6QvXW41aGQYa9gWWypNoyr6X63bhJiw-nNLIq0tuqp4IB8ifBz-JaXK3zalY_Lhc4f4hTtbGatHftuKI5ZV9asdoD1RjgXpjnAnceqp3opC--A60fMmCoeeY3Y_ZOVzZMX-3bo" rel="nofollow noreferrer" target="_blank"&gt;https://dl.dropboxusercontent.com/apitl/1/AABEjWHkjnPKJ0NrtkvkFYXotbSY_-0yZCchBZ-fvbD3dX3R05MALM_w9trebEG-2nNaYLUcOXp3BGFafuGBHvxnMMEGyUkQn6vH8T0AQesOMnkr3QkWzFPiPeHjG6QvXW41aGQYa9gWWypNoyr6X63bhJiw-nNLIq0tuqp4IB8ifBz-JaXK3zalY_Lhc4f4hTtbGatHftuKI5ZV9asdoD1RjgXpjnAnceqp3opC--A60fMmCoeeY3Y_ZOVzZMX-3bo&lt;/A&gt; | grep content-disposition&lt;/P&gt;
&lt;P&gt;content-disposition: attachment; filename=purse_red.jpeg&lt;BR /&gt;```&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:30:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/bug-in-content-disposition-response-header/m-p/189091#M8057</guid>
      <dc:creator>Anthony B.14</dc:creator>
      <dc:date>2019-05-29T09:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: bug(?) in content-disposition response header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/bug-in-content-disposition-response-header/m-p/189092#M8058</link>
      <description>&lt;P&gt;Thanks for the report! This is a known issue that should be fixed soon.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 02:47:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/bug-in-content-disposition-response-header/m-p/189092#M8058</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-09-13T02:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: bug(?) in content-disposition response header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/bug-in-content-disposition-response-header/m-p/189093#M8059</link>
      <description>&lt;P&gt;This should be fixed now. Please let me know if you're still seeing any issues.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 03:07:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/bug-in-content-disposition-response-header/m-p/189093#M8059</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-09-16T03:07:41Z</dc:date>
    </item>
  </channel>
</rss>

