changeset 3272:ca2d37e7c9d0

action.Load: fixed wrong wikiutil.escape usage causing double-escaping
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 16 Mar 2008 21:45:04 +0100
parents 99e7f184541f
children 6fe451cd6219
files MoinMoin/action/Load.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/Load.py	Sun Mar 16 21:07:30 2008 +0100
+++ b/MoinMoin/action/Load.py	Sun Mar 16 21:45:04 2008 +0100
@@ -2,7 +2,7 @@
 """
     MoinMoin - Action macro for page creation from file or attach file to current page
 
-    @copyright: 2007 MoinMoin:ReimarBauer
+    @copyright: 2007-2008 MoinMoin:ReimarBauer
     @license: GNU GPL, see COPYING for details.
 """
 import os
@@ -84,7 +84,7 @@
 
         else:
             filecontent = unicode(filecontent, config.charset)
-            self.pagename = wikiutil.escape(target)
+            self.pagename = target
             page = Page(self.request, self.pagename)
             pagedir = page.getPagePath("", check_create=0)
             rev = Page.get_current_from_pagedir(page, pagedir)