Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1730:2dd6b4c825e9
Final touches to fix query editing. It should work now.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Sun, 10 Aug 2003 10:30:56 +0000 |
| parents | bc4f0aec594e |
| children | 778056dc420f |
line wrap: on
line diff
--- a/roundup/cgi/client.py Mon Jul 28 23:41:04 2003 +0000 +++ b/roundup/cgi/client.py Sun Aug 10 10:30:56 2003 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.126 2003-07-21 22:56:54 richard Exp $ +# $Id: client.py,v 1.127 2003-08-10 10:30:56 jlgijsbers Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -1361,7 +1361,10 @@ if queryname: # parse the environment and figure what the query _is_ req = HTMLRequest(self) - url = req.indexargs_href('', {}) + + # The [1:] strips off the '?' character, it isn't part of the + # query string. + url = req.indexargs_href('', {})[1:] # handle editing an existing query try:
