Opened 13 years ago

Closed 13 years ago

#17282 closed Bug (fixed)

Request path containing %E3 drops server

Reported by: byashimov@… Owned by: nobody
Component: HTTP handling Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Tried make request with %E3 in path, here is what I've got on dev server:

Traceback (most recent call last):

  File "C:\Python26\lib\site-packages\django\core\servers\basehttp.py", line 283, in run
    self.result = application(self.environ, self.start_response)

  File "C:\Python26\lib\site-packages\django\contrib\staticfiles\handlers.py", line 68, in __call__
    return self.application(environ, start_response)

  File "C:\Python26\lib\site-packages\django\core\handlers\wsgi.py", line 264, in __call__
    logger.warning('Bad Request (UnicodeDecodeError): %s' % request.path,

UnboundLocalError: local variable 'request' referenced before assignment

Not only windows. Also tested on fastcgi and uwsgi - drops both.

Change History (2)

comment:1 by anonymous, 13 years ago

Summary: Reqaest path containing %E3 drops serverRequest path containing %E3 drops server

comment:2 by Luke Plant, 13 years ago

Resolution: fixed
Status: newclosed

Essentially a dupe of #15672, and already fixed in [15918]

Note: See TracTickets for help on using tickets.
Back to Top