diff MoinMoin/action/AttachFile.py @ 375:6f8d4ca0ef6e

show attachment: samples with %20 in attachment list imported from: moin--main--1.5--patch-379
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 14 Jan 2006 00:02:05 +0000
parents d9028858980d
children 8a750c0d229a
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Thu Jan 12 22:25:56 2006 +0000
+++ b/MoinMoin/action/AttachFile.py	Sat Jan 14 00:02:05 2006 +0000
@@ -244,7 +244,8 @@
                         'label_unzip': label_unzip,
                         'label_install': label_install,
                         'get_url': get_url, 'label_get': label_get,
-                        'file': wikiutil.escape(file), 'fsize': fsize,
+                        'file': wikiutil.escape(file).replace(' ', '%20'),
+                        'fsize': fsize,
                         'pagename': pagename}
 
             del_link = ''