#19006 closed Bug (fixed)
Content-Disposition example does not work in certain browsers if the filename has a space
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
https://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpResponse
If the file has a space, you need to wrap it in quotes or certain browsers (Firefox, at least, it works fine in recent versions of Chrome) will misinterpret the filename and only retain the parts before the space.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html says that it should be quoted.
Note:
See TracTickets
for help on using tickets.
In 234ca6c61d27d1cd430a5290ff858c25afb93098: