Ticket #3414: path_info_wsgi.diff
File path_info_wsgi.diff, 563 bytes (added by , 17 years ago) |
---|
-
django/core/handlers/wsgi.py
75 75 class WSGIRequest(http.HttpRequest): 76 76 def __init__(self, environ): 77 77 self.environ = environ 78 self.path = force_unicode(environ[' PATH_INFO'])78 self.path = force_unicode(environ['SCRIPT_NAME'] + environ['PATH_INFO']) 79 79 self.META = environ 80 80 self.method = environ['REQUEST_METHOD'].upper() 81 81