[Moin-devel] [ moin-Bugs-1019102 ] rightsidebar.py displays userid escaped
SourceForge.net
noreply at sourceforge.net
Mon Aug 30 07:15:01 EDT 2004
Bugs item #1019102, was opened at 2004-08-30 10:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=1019102&group_id=8482
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Patrick Mueller (pmuellr)
Assigned to: Nobody/Anonymous (nobody)
Summary: rightsidebar.py displays userid escaped
Initial Comment:
In the rightsidebar.py theme, when the userid has
characters that moin will escape to create the actual
page name for the user, that escaped version of the
userid is displayed under the user section.
The fix seems simple enough. In rightsidebar.py, line
75, change:
html.append('%s' %
wikiutil.link_tag(self.request,
wikiutil.quoteWikiname(self.request.user.name)))
to the following:
html.append('%s' %
wikiutil.link_tag(self.request,
wikiutil.quoteWikiname(self.request.user.name),wikiutil.escape(self.request.user.name)))
What this does is call quote Wikiname with a specific
piece of text to display (the HTML escaped userid),
instead of using the default which is the Moin-escaped
userid.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=1019102&group_id=8482
More information about the Moin-devel
mailing list