https://bugzilla.wikimedia.org/show_bug.cgi?id=29340

       Web browser: ---
             Bug #: 29340
           Summary: Group names with html entities in them get double
                    encoded in Special:Userrights
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Special pages
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


If you create a group with an HTML entity in it, say A&B, the group name is
displayed on Special:Userrights as A&B.  This is because the
groupCheckboxes function in SpecialUserrights.php calls htmlspecialchars on the
group name and then calls Xml::checkLabel which does another htmlspecialchars.

I haven't tested this on 1.16.5 but a quick glance at the code shows that the
problem still exists in trunk.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to