Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-16049

User's fullname is double encoded on the filter and portal list

    XMLWordPrintable

Details

    Description

      JSP fragments /template/standard/filter-list.jsp and /template/standard/portalpage-list.jsp both contain the webwork tag <webwork:property value="./ownerFullName"/>.

      The bean "com.atlassian.jira.plugin.profile.FullNameUserFormat.java" method "public String format(String username, String id)" already escapes the string using static method TextUtils.htmlEncode.

      According to the webwork property tag documentation the implicitly "escape" attribute is set to "true". Thus if the attribute escape="false" is not set then the string value is doubly escaped.

      We should either change the tag to <webwork:property escape="false" value="./ownerFullName"/> or use the <jira:formatuser> tag.

      Attachments

        Issue Links

          Activity

            People

              mtokar Michael Tokar
              andreask@atlassian.com Andreas Knecht (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: