diff MoinMoin/action/CopyPage.py @ 3273:9c6900a92a64

more wikiutil.escape fixes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 16 Mar 2008 22:41:27 +0100
parents a739558ca3dc
children 1d6d0d9a7c9d 3b36f0cfc656
line wrap: on
line diff
--- a/MoinMoin/action/CopyPage.py	Sun Mar 16 21:07:30 2008 +0100
+++ b/MoinMoin/action/CopyPage.py	Sun Mar 16 22:41:27 2008 +0100
@@ -88,7 +88,7 @@
                 'subpage': subpages,
                 'subpages_checked': ('', 'checked')[self.request.form.get('subpages_checked', ['0'])[0] == '1'],
                 'subpage_label': _('Copy all /subpages too?'),
-                'pagename': wikiutil.escape(self.pagename),
+                'pagename': wikiutil.escape(self.pagename, True),
                 'newname_label': _("New name"),
                 'comment_label': _("Optional reason for the copying"),
                 'buttons_html': buttons_html,
@@ -133,7 +133,7 @@
 
         else:
             d = {
-                'pagename': wikiutil.escape(self.pagename),
+                'pagename': wikiutil.escape(self.pagename, True),
                 'newname_label': _("New name"),
                 'comment_label': _("Optional reason for the copying"),
                 'buttons_html': buttons_html,