#19006: Content-Disposition example does not work in certain browsers if the filename has a space -------------------------------+-------------------- Reporter: anonymous | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 1.4 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------+-------------------- 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. -- Ticket URL: <https://code.djangoproject.com/ticket/19006> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.