changeset 4540:0d03855518a4

merge moin/1.7
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 29 Jan 2009 21:37:44 +0100
parents 04f3cfbf446a (current diff) 5c4043e651b3 (diff)
children 38110c49d0a6
files MoinMoin/action/AttachFile.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Wed Jan 28 17:06:22 2009 +0100
+++ b/MoinMoin/action/AttachFile.py	Thu Jan 29 21:37:44 2009 +0100
@@ -400,7 +400,7 @@
     for fname in files:
         url = getAttachUrl(pagename, fname, request, do='view', escaped=1)
         request.write(u'<link rel="Appendix" title="%s" href="%s">\n' % (
-                      wikiutil.escape(fname), url))
+                      wikiutil.escape(fname, 1), url))
 
 
 def send_hotdraw(pagename, request):
@@ -438,7 +438,7 @@
     'pngpath': pngpath, 'timestamp': timestamp,
     'pubpath': pubpath, 'drawpath': drawpath,
     'savelink': savelink, 'pagelink': pagelink, 'helplink': helplink,
-    'basename': wikiutil.escape(basename),
+    'basename': wikiutil.escape(basename, 1),
 })