Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11625

Introduce API to generate an unescaped display user name

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4-milestone-3
    • Fix Version/s: 6.4-rc-1, 6.2.5
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      All XWiki#getUserName API escape whatever all the XML found in the resulting generated display user name but not. This is a legacy of a time where all API were used in a html context (xwiki/1.0 syntax) but display user name is needed in many non html places now in which all the XML ends up double escaped in the final html result.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: