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

HTML not escaped for statuses in help page

    XMLWordPrintable

Details

    Description

      To replicate, create a status called "Won't fix", and try to view the help page (click the help icon next to Issue Types, for example):

      http://localhost:8080/secure/ShowConstantsHelp.jspa?decorator=popup

      The page rendering breaks with:

      Cause:
      java.lang.IllegalArgumentException: missing matching end quote for query: Won't fix

      Stack Trace: [hide]

      java.lang.IllegalArgumentException: missing matching end quote for query: Won't fix
      at webwork.util.Query.throwIllegalArgumentException(Query.java:606)
      at webwork.util.Query.findMatchingQuote(Query.java:573)
      at webwork.util.Query.splitQuery(Query.java:481)
      at webwork.util.Query.(Query.java:124)
      at webwork.util.Query.getQuery(Query.java:34)
      at webwork.util.ValueStack.findValue(ValueStack.java:173)
      at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:61)
      at webwork.view.taglib.ui.ComponentTag.doEndTag(ComponentTag.java:154)
      at org.apache.jsp.secure.showconstantshelp_jsp._jspService(org.apache.jsp.secure.showconstantshelp_jsp:701)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: