#36023: Update content_disposition_header to handle control chars.
-------------------------------+-----------------------------------------
Reporter: Alex Vandiver | Owner: Alex Vandiver
Type: Bug | Status: assigned
Component: HTTP handling | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by Sarah Boyce):
* stage: Unreviewed => Accepted
Comment:
Replying to [comment:2 Alex Vandiver]:
> filenames should not be assumed to be free from them.
I guess it is possible control characters might be in a filename but very
rare. This is also mentioned here:
https://datatracker.ietf.org/doc/html/rfc6266#section-4.3
> Recipients SHOULD strip or replace character sequences that are known to
cause confusion both in user interfaces and in filenames, such as control
characters and leading and trailing whitespace.
--
Ticket URL: <https://code.djangoproject.com/ticket/36023#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070193dde794d6-8d1724e8-4e55-4ac8-85ea-16c87d91237b-000000%40eu-central-1.amazonses.com.