accept query_string in morss cgi
parent
f965566054
commit
1b4341f741
|
@ -497,6 +497,9 @@ def cgi_app(environ, start_response):
|
||||||
else:
|
else:
|
||||||
url = environ['PATH_INFO'][1:]
|
url = environ['PATH_INFO'][1:]
|
||||||
|
|
||||||
|
if environ['QUERY_STRING']:
|
||||||
|
url += '?' + environ['QUERY_STRING']
|
||||||
|
|
||||||
url = re.sub(r'^/?(morss.py|main.py|cgi/main.py)/', '', url)
|
url = re.sub(r'^/?(morss.py|main.py|cgi/main.py)/', '', url)
|
||||||
|
|
||||||
if url.startswith(':'):
|
if url.startswith(':'):
|
||||||
|
|
Loading…
Reference in New Issue