changeset 4632:81598e8c735b

AttachFile do=view: quote filename and pagename params for EmbedObject macro call
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 21 Feb 2009 19:23:44 +0100
parents 7fbbdd3e58a9
children a306904a3620
files MoinMoin/action/AttachFile.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Fri Feb 20 02:09:29 2009 +0100
+++ b/MoinMoin/action/AttachFile.py	Sat Feb 21 19:23:44 2009 +0100
@@ -1038,7 +1038,7 @@
                 fmt.url(0))
         request.write('For using an external program follow this link %s' % link)
         return
-    request.write(m.execute('EmbedObject', u'target=%s, pagename=%s' % (filename, pagename)))
+    request.write(m.execute('EmbedObject', u'target="%s", pagename="%s"' % (filename, pagename)))
     return