Skip to content

Commit a8c16e1

Browse files
author
Ralf Schlatterbeck
committed
comment update
1 parent 11f4222 commit a8c16e1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

roundup/cgi/actions.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: actions.py,v 1.63 2007-01-10 20:16:17 schlatterbeck Exp $
1+
#$Id: actions.py,v 1.64 2007-01-11 07:34:02 schlatterbeck Exp $
22

33
import re, cgi, StringIO, urllib, Cookie, time, random, csv, codecs
44

@@ -244,8 +244,11 @@ def fakeFilterVars(self):
244244

245245
def getCurrentURL(self, req):
246246
"""Get current URL for storing as a query.
247-
The [1:] strips off the '?' character, it isn't part of the
248-
query string.
247+
248+
Note: We are removing the first character from the current URL,
249+
because the leading '?' is not part of the query string.
250+
251+
Implementation note:
249252
But maybe the template should be part of the stored query:
250253
template = self.getFromForm('template')
251254
if template:

0 commit comments

Comments
 (0)