Skip to content

Commit

Permalink
split only once
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Feb 18, 2010
1 parent ad1bd6d commit caba92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunicorn/http/request.py
Expand Up @@ -110,7 +110,7 @@ def read(self):
os.environ.get("SCRIPT_NAME", ""))
path_info = self.parser.path
if script_name:
path_info = path_info.split(script_name)[-1]
path_info = path_info.split(script_name, 1)[-1]

environ = {
"wsgi.url_scheme": 'http',
Expand Down

0 comments on commit caba92d

Please sign in to comment.