Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow funplex to handle requests to root.
[wrw.git]
/
wrw
/
proto.py
diff --git
a/wrw/proto.py
b/wrw/proto.py
index
0e3c798
..
628bfc9
100644
(file)
--- a/
wrw/proto.py
+++ b/
wrw/proto.py
@@
-192,7
+192,7
@@
def parstring(pars={}, **augment):
def parurl(url, pars={}, **augment):
qs = parstring(pars, **augment)
if qs != "":
def parurl(url, pars={}, **augment):
qs = parstring(pars, **augment)
if qs != "":
- return url +
"?"
+ qs
+ return url +
("&" if "?" in url else "?")
+ qs
else:
return url
else:
return url