##// END OF EJS Templates
wsgicgi: switch the default PATH_INFO back to str...
Matt Harbison -
r47529:56483ab9 stable
parent child Browse files
Show More
@@ -25,7 +25,7 b' def launch(application):'
25 procutil.setbinary(procutil.stdout)
25 procutil.setbinary(procutil.stdout)
26
26
27 environ = dict(pycompat.iteritems(os.environ)) # re-exports
27 environ = dict(pycompat.iteritems(os.environ)) # re-exports
28 environ.setdefault('PATH_INFO', b'')
28 environ.setdefault('PATH_INFO', '')
29 if environ.get('SERVER_SOFTWARE', '').startswith('Microsoft-IIS'):
29 if environ.get('SERVER_SOFTWARE', '').startswith('Microsoft-IIS'):
30 # IIS includes script_name in PATH_INFO
30 # IIS includes script_name in PATH_INFO
31 scriptname = environ['SCRIPT_NAME']
31 scriptname = environ['SCRIPT_NAME']
General Comments 0
You need to be logged in to leave comments. Login now