[traceback] UnicodeDecodeError on certain POSTs

RESOLVED FIXED in 4.x (triaged)

Status

addons.mozilla.org Graveyard
Code Quality
RESOLVED FIXED
7 years ago
2 years ago

People

(Reporter: clouserw, Unassigned)

Tracking

unspecified
4.x (triaged)

Details

(Reporter)

Description

7 years ago
Looks like someone was trying to break our forms with invalid POST data.  Traceback:

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/core/handlers/base.py", line 103, in get_response
   response = middleware_method(request, callback, callback_args, callback_kwargs)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/middleware/csrf.py", line 193, in process_view
   logger.warning('Forbidden (%s): %s' % (reason, request.path),

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 107: ordinal not in range(128)

URL: /en-US/sunbird/user/9520/abuse
POST: <QueryDict: {u'&quot': [u''], u'csrfmiddlewaretoken': [u'[redacted]'], u'recaptcha_response_field': [u'"\'&#039'], u'%27%22\\\'\\"\\': [u'']}>

URL: /en-US/sunbird/user/9520/
POST: <QueryDict: {u'lang': [u'57426818\'"\\']}>

The second one probably falls under the "disallow GET/POST to pages that don't require them" bug
(Reporter)

Comment 1

6 years ago
haven't seen this in a looong time.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Updated

2 years ago
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.