morss: split "options" var into "raw_options" & "options"
To make it clearer who-is-whatmaster
parent
056de12484
commit
42c5d09ccb
|
@ -499,7 +499,7 @@ def cgi_app(environ, start_response):
|
||||||
if url.startswith(':'):
|
if url.startswith(':'):
|
||||||
split = url.split('/', 1)
|
split = url.split('/', 1)
|
||||||
|
|
||||||
options = split[0].replace('|', '/').replace('\\\'', '\'').split(':')[1:]
|
raw_options = split[0].replace('|', '/').replace('\\\'', '\'').split(':')[1:]
|
||||||
|
|
||||||
if len(split) > 1:
|
if len(split) > 1:
|
||||||
url = split[1]
|
url = split[1]
|
||||||
|
@ -507,10 +507,10 @@ def cgi_app(environ, start_response):
|
||||||
url = ''
|
url = ''
|
||||||
|
|
||||||
else:
|
else:
|
||||||
options = []
|
raw_options = []
|
||||||
|
|
||||||
# init
|
# init
|
||||||
options = Options(filterOptions(parseOptions(options)))
|
options = Options(filterOptions(parseOptions(raw_options)))
|
||||||
headers = {}
|
headers = {}
|
||||||
|
|
||||||
global DEBUG
|
global DEBUG
|
||||||
|
|
Loading…
Reference in New Issue