Ticket #3414: path_info_wsgi.diff

File path_info_wsgi.diff, 563 bytes (added by Gabriel Sean Farrell <gsf@…>, 17 years ago)
  • django/core/handlers/wsgi.py

     
    7575class WSGIRequest(http.HttpRequest):
    7676    def __init__(self, environ):
    7777        self.environ = environ
    78         self.path = force_unicode(environ['PATH_INFO'])
     78        self.path = force_unicode(environ['SCRIPT_NAME'] + environ['PATH_INFO'])
    7979        self.META = environ
    8080        self.method = environ['REQUEST_METHOD'].upper()
    8181
Back to Top