Message1806
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
|
|
Date |
User |
Action |
Args |
2009-02-03 14:21:08 | admin | link | issue1097083 messages |
2009-02-03 14:21:08 | admin | create | |
|