Created
November 2, 2009 23:02
-
-
Save alcides/224581 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/phusion_passenger/wsgi/request_handler.py b/lib/phusion_passenger/wsgi/request_handler.py | |
index b062807..da081bc 100755 | |
--- a/lib/phusion_passenger/wsgi/request_handler.py | |
+++ b/lib/phusion_passenger/wsgi/request_handler.py | |
@@ -130,8 +130,6 @@ class RequestHandler: | |
if 'HTTP_CONTENT_LENGTH' in env: | |
env['CONTENT_LENGTH'] = env.get('HTTP_CONTENT_LENGTH') | |
- if 'PATH_INFO' not in env: | |
- env['PATH_INFO'] = env.get('REQUEST_URI','/').split("?")[0] | |
headers_set = [] | |
headers_sent = [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment