#14235: UnicodeDecodeError in CSRF middleware
---------------------------+------------------------------------------------
Reporter: jbg | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
Just updated to SVN head to fix the CSRF security issue and am now
getting:
{{{
mod_wsgi (pid=15736): Exception occurred processing WSGI script
'/home/.../django.wsgi'.
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/handlers/wsgi.py",
line 245, in __call__
response = middleware_method(request, response)
File "/usr/lib/python2.5/site-packages/django/middleware/csrf.py", line
256, in process_response
response.content, n = _POST_FORM_RE.subn(add_csrf_field,
response.content)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 953:
ordinal not in range(128)
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/14235>
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.