#9696: FileField raises unhandled exception when filename contains non-ascii
characters
-------------------------------------------+--------------------------------
Reporter: magarac | Owner: kmtracey
Status: new | Milestone: 1.1
Component: File uploads/storage | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by kmtracey):
* owner: nobody => kmtracey
* status: reopened => new
Comment:
This looks similar to #9579. We can't necessarily pass unicode into
Python's os.path routines. In fact I see there is an
os.path.supports_unicode_filenames that may be what we are supposed to
consult to determine whether we can pass unicode in or if we must encode
to a bytestring before calling the os.path routines.
--
Ticket URL: <http://code.djangoproject.com/ticket/9696#comment:7>
Django <http://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---