changeset 417:2b21d2ea1b3e

Fixed MoinMoinBugs/UnableToDisplayDocbookWithAccentuatedTitle imported from: moin--main--1.5--patch-421
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Fri, 03 Feb 2006 20:50:02 +0000
parents fb5e1ecdbc33
children ca87e06d2cbc
files ChangeLog MoinMoin/parser/xslt.py docs/CHANGES
diffstat 3 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Feb 03 20:41:07 2006 +0000
+++ b/ChangeLog	Fri Feb 03 20:50:02 2006 +0000
@@ -2,6 +2,18 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-02-03 21:50:02 GMT	Alexander Schremmer <alex@alexanderweb.de.tla>	patch-421
+
+    Summary:
+      Fixed MoinMoinBugs/UnableToDisplayDocbookWithAccentuatedTitle
+    Revision:
+      moin--main--1.5--patch-421
+
+
+    modified files:
+     ChangeLog MoinMoin/parser/xslt.py docs/CHANGES
+
+
 2006-02-03 21:41:07 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-420
 
     Summary:
--- a/MoinMoin/parser/xslt.py	Fri Feb 03 20:41:07 2006 +0000
+++ b/MoinMoin/parser/xslt.py	Fri Feb 03 20:50:02 2006 +0000
@@ -85,9 +85,8 @@
                                     handlers={self.base_scheme: self._resolve_page,},
                                     base_scheme=self.base_scheme)
                 input_factory = InputSource.InputSourceFactory(resolver=wiki_resolver)
-                page_name = formatter.page.page_name
-                page_uri = u"%s%s" % (self.base_uri, page_name.encode(config.charset))
 
+                page_uri = wikiutil.url_quote(u"%s%s" % (self.base_uri, formatter.page.page_name))
                 raw = self.raw.strip()
 
                 self.processor = Processor()
--- a/docs/CHANGES	Fri Feb 03 20:41:07 2006 +0000
+++ b/docs/CHANGES	Fri Feb 03 20:50:02 2006 +0000
@@ -38,6 +38,7 @@
      so it does not close it erratically when you close a inner <p>.
    * GUI editor converter now also accept http: urls without // (relative or
      same server urls)
+   * Fixed the DocBook parser in cases where the pagename was non-ascii.
 
 Version 1.5.1:
   Please completely read CHANGES text until you reach the version you were