[ moin-Bugs-1019102 ] rightsidebar.py displays userid escaped
"SourceForge.net" <[email protected]> Fri, 24 Sep 2004 17:51:44 -0700
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1019102, was opened at 2004-08-30 16:13
Message generated for change (Comment added) made by thomaswaldmann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=1019102&group_id=8482
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
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.
----------------------------------------------------------------------
>Comment By: Thomas Waldmann (thomaswaldmann)
Date: 2004-09-25 02:51
Message:
Logged In: YES
user_id=100649
thanks!
fixed in moin--main--1.2 tla repository
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=1019102&group_id=8482
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php