Opened 7 years ago

Closed 7 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


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\", line 283, in run
    self.result = application(self.environ, self.start_response)

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

  File "C:\Python26\lib\site-packages\django\core\handlers\", 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 Changed 7 years ago by anonymous

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

comment:2 Changed 7 years ago by Luke Plant

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