Roundup Tracker - Issues

Message1806

Author marlonvdb
Recipients
Date 2005-01-10.13:03:27
Message-id
In-reply-to
Logged In: YES 
user_id=1080231

Hmm, not only cgi/action.py needs to be patched, but also
'cgi/templating.py' method 'indexargs_url' to make sure that
features like export csv do work to. This is the patch
(based on 0.7.11):

Index: cgi/templating.py
===================================================================
@@ -2033,12 +2033,12 @@
             for k,v in self.filterspec.items():
                 if not args.has_key(k):
                     if type(v) == type([]):
                         if isinstance(props[k],
hyperdb.String):
-                            l.append('%s=%s'%(k,
'%20'.join([q(i) for i in v])))
+                            l.append(re.sub(';', '%3B',
'%s=%s'%(k, '%20'.join([q(i) for i in v]))))
                         else:
-                            l.append('%s=%s'%(k,
','.join([q(i) for i in v])))
+                            l.append(re.sub(';', '%3B',
'%s=%s'%(k, ','.join([q(i) for i in v]))))
                     else:
-                        l.append('%s=%s'%(k, q(v)))
+                        l.append(re.sub(';', '%3B',
'%s=%s'%(k, q(v))))
         return '%s?%s'%(url, '&'.join(l))
     indexargs_href = indexargs_url

Regards,
Marlon
History
Date User Action Args
2009-02-03 14:21:08adminlinkissue1097083 messages
2009-02-03 14:21:08admincreate