Skip to content

Instantly share code, notes, and snippets.

@alcides
Created November 2, 2009 23:02
Show Gist options
  • Save alcides/224581 to your computer and use it in GitHub Desktop.
Save alcides/224581 to your computer and use it in GitHub Desktop.
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