[ moin-Bugs-916154 ] ? characters breaks RSS feed
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #916154, was opened at 2004-03-14 21:51
Message generated for change (Comment added) made by thomaswaldmann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=916154&group_id=8482
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Simon Lieschke (slieschke)
Assigned to: Nobody/Anonymous (nobody)
Summary: ® characters breaks RSS feed
Initial Comment:
A workmate recently used the ® character in a wiki
page, which caused the RSS recent changes feed to break.
----------------------------------------------------------------------
>Comment By: Thomas Waldmann (thomaswaldmann)
Date: 2004-03-27 14:26
Message:
Logged In: YES
user_id=100649
cStringIO is not unicode capable. This fixes it (will be in
1.2.2):
--- orig/MoinMoin/action/rss_rc.py
+++ mod/MoinMoin/action/rss_rc.py
@@ -10,7 +10,7 @@
from MoinMoin import wikixml, config, wikiutil, util
from MoinMoin.logfile import editlog
from MoinMoin.Page import Page
-import cStringIO, re
+import StringIO, re
from MoinMoin.wikixml.util import RssGenerator
def execute(pagename, request):
@@ -45,7 +45,7 @@
ddiffs = 0
# prepare output
- out = cStringIO.StringIO()
+ out = StringIO.StringIO()
handler = RssGenerator(out)
# get data
----------------------------------------------------------------------
Comment By: Simon Lieschke (slieschke)
Date: 2004-03-14 21:54
Message:
Logged In: YES
user_id=578756
Attached is the error resulting from using the ® character;
it uses the action=rss_rc&diffs=1&ddiffs=1&items=50 options.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=916154&group_id=8482
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click