#30227: POST "multipart/form-data" without "boundary" causes AttributeError
-------------------------------------+------------------------------------
Reporter: Oxygen | Owner: nobody
Type: Bug | Status: new
Component: HTTP handling | Version: 2.1
Severity: Normal | Resolution:
Keywords: multipart, boundary | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Comment (by Simon Charette):
Tim, I think that passing an invalid UTF-8 byte sequence as boundary could
cause `force_str` to crash with `UnicodeDecodeError`
e.g. `boundary = u'timgràhàm'.encode('latin').decode('utf-8')`
But that might crash even sooner.
--
Ticket URL: <https://code.djangoproject.com/ticket/30227#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.a0329171bb585f68cb8eecc3e5266bdc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.