#61 rightsidebar.py displays userid escaped

closed-fixed
nobody
None
5
2004-09-25
2004-08-30
No

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.

Discussion

  • Thomas Waldmann

    Thomas Waldmann - 2004-09-25

    Logged In: YES
    user_id=100649

    thanks!

    fixed in moin--main--1.2 tla repository

     
  • Thomas Waldmann

    Thomas Waldmann - 2004-09-25
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks