Fix '/morss.py/' url fixer

master
pictuga 2014-05-22 22:53:36 +02:00
parent 364fbc4ba6
commit 5e64696031
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ def cgi_app(environ, start_response):
else: else:
url = environ['PATH_INFO'][1:] url = environ['PATH_INFO'][1:]
re.sub(r'^/?morss.py/', '', url) url = re.sub(r'^/?morss.py/', '', url)
if url.startswith(':'): if url.startswith(':'):
options = url.split('/')[0].split(':')[1:] options = url.split('/')[0].split(':')[1:]