Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I'm a developer attempting to use APIv2 to make a web integration. Currently, I'm on rails trying to use the method /get_temporary_link to get a link to upload a file as a paperclip asset (using the very popular thoughtbot/paperclip gem).
Having some issues and I noticed the `filename` in the `content-disposition` response header is not being returned as a quoted string, e.g.
According to RFC 2616 (https://tools.ietf.org/html/rfc2616#section-19.5.1) the filename parameter should be a quoted string. Essentially:
THIS IS CORRECT
Content-Disposition: attachment; filename="purse_red.jpeg"
THIS IS NOT CORRECT (AND CURRENT IN APIv2)
Content-Disposition: attachment; filename=purse_red.jpeg
Is this a tiny bug we can show some love? =P
Cheers
epylinkn
CURL example in case it helps:
```
$ curl -I https://dl.dropboxusercontent.com/apitl/1/AABEjWHkjnPKJ0NrtkvkFYXotbSY_-0yZCchBZ-fvbD3dX3R05MALM_w9t... | grep content-disposition
content-disposition: attachment; filename=purse_red.jpeg
```
Thanks for the report! This is a known issue that should be fixed soon.
This should be fixed now. Please let me know if you're still seeing any issues.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!