changeset 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 29c4c3861efe
children 7da3d0f49549
files ChangeLog MoinMoin/action/AttachFile.py docs/CHANGES
diffstat 3 files changed, 18 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 12 22:25:56 2006 +0000
+++ b/ChangeLog	Sat Jan 14 00:02:05 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-01-14 01:02:05 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-379
+
+    Summary:
+      show attachment: samples with %20 in attachment list
+    Revision:
+      moin--main--1.5--patch-379
+
+    show attachment: samples with %20 in attachment list
+    
+
+    modified files:
+     ChangeLog MoinMoin/action/AttachFile.py docs/CHANGES
+
+
 2006-01-12 23:25:56 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-378
 
     Summary:
--- 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 = ''
--- a/docs/CHANGES	Thu Jan 12 22:25:56 2006 +0000
+++ b/docs/CHANGES	Sat Jan 14 00:02:05 2006 +0000
@@ -9,6 +9,8 @@
   Other changes:
     * Updated FCKeditor to current CVS (2006-01-08 == 2.2+)
     * Split up show_hosts into show_hosts and show_names
+    * attachment:file%20with%20spaces.txt in attachment list
+
 
 Version 1.5.0:
   Please completely read CHANGES text until you reach the version you were