diff roundup/cgi/actions.py @ 3805:f86d9531c8db

comment update
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Thu, 11 Jan 2007 07:34:02 +0000
parents 5445ff8c442b
children 1a44e4bb2b54
line wrap: on
line diff
--- a/roundup/cgi/actions.py	Wed Jan 10 20:16:17 2007 +0000
+++ b/roundup/cgi/actions.py	Thu Jan 11 07:34:02 2007 +0000
@@ -1,4 +1,4 @@
-#$Id: actions.py,v 1.63 2007-01-10 20:16:17 schlatterbeck Exp $
+#$Id: actions.py,v 1.64 2007-01-11 07:34:02 schlatterbeck Exp $
 
 import re, cgi, StringIO, urllib, Cookie, time, random, csv, codecs
 
@@ -244,8 +244,11 @@
 
     def getCurrentURL(self, req):
         """Get current URL for storing as a query.
-        The [1:] strips off the '?' character, it isn't part of the
-        query string.
+
+        Note: We are removing the first character from the current URL,
+        because the leading '?' is not part of the query string.
+
+        Implementation note:
         But maybe the template should be part of the stored query:
         template = self.getFromForm('template')
         if template:

Roundup Issue Tracker: http://roundup-tracker.org/