mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
split only once
This commit is contained in:
parent
ad1bd6d313
commit
caba92d937
@ -110,7 +110,7 @@ class Request(object):
|
|||||||
os.environ.get("SCRIPT_NAME", ""))
|
os.environ.get("SCRIPT_NAME", ""))
|
||||||
path_info = self.parser.path
|
path_info = self.parser.path
|
||||||
if script_name:
|
if script_name:
|
||||||
path_info = path_info.split(script_name)[-1]
|
path_info = path_info.split(script_name, 1)[-1]
|
||||||
|
|
||||||
environ = {
|
environ = {
|
||||||
"wsgi.url_scheme": 'http',
|
"wsgi.url_scheme": 'http',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user