changeset 146:27c541f45422

fixed MoinMoinBugs/IncludeProducesInvalidHtml imported from: moin--main--1.5--patch-148
author Florian Festi <Florian.Festi@trick.informatik.uni-stuttgart.de>
date Thu, 27 Oct 2005 15:51:44 +0000
parents b11bb396654e
children 22bf3aa88bc7
files MoinMoin/macro/Include.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/Include.py	Thu Oct 27 12:11:37 2005 +0000
+++ b/MoinMoin/macro/Include.py	Thu Oct 27 15:51:44 2005 +0000
@@ -217,7 +217,7 @@
         strfile = StringIO.StringIO()
         request.redirect(strfile)
         try:
-            cid = request.makeUniqueID("Include_%s" % wikiutil.quoteWikinameFS(inc_page.page_name))
+            cid = request.makeUniqueID("Include_%s" % wikiutil.quoteWikinameURL(inc_page.page_name))
             inc_page.send_page(request, content_only=1, content_id=cid)
             result.append(strfile.getvalue())
         finally: