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

Printable link for pages may double escape urls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.12.3
    • None
    • None
    • None

    Description

      Lots of errors appeared in the logs:

      2007-11-06 05:15:42,312 resin-tcp-connection-j2ee.jira.atlassian.com:6802-45 ERROR [webwork.util.ServletValueStack] METHOD: "unescapedText", exception:
      java.lang.IllegalArgumentException: Invalid complete key specified: null
              at com.atlassian.plugin.ModuleCompleteKey.<init>(ModuleCompleteKey.java:17)
              at com.atlassian.plugin.DefaultPluginManager.getEnabledPluginModule(DefaultPluginManager.java:334)
              at com.atlassian.jira.web.action.browser.ConfigureReport.getReport(ConfigureReport.java:194)
              at com.atlassian.jira.web.action.browser.ConfigureReport.getUnescapedText(ConfigureReport.java:224)
              at sun.reflect.GeneratedMethodAccessor772.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
              at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
              at webwork.util.ValueStack.findValue(ValueStack.java:426)
              at webwork.util.ValueStack.findValue(ValueStack.java:175)
              at webwork.view.taglib.WebWorkBodyTagSupport.findString(WebWorkBodyTagSupport.java:73)
              at com.atlassian.jira.web.tags.TextTag.doEndTag(TextTag.java:90)
              at _jsp._decorators._panels._jiraform__jsp._jspService(_jiraform__jsp.java:940)
              at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
              at com.caucho.jsp.Page.pageservice(Page.java:570)
              at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
              at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
              at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
              at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
              at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
              at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:927)
              at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:864)
              at com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag.doEndTag(ApplyDecoratorTag.java:254)
              at _jsp._secure._views._browser._configurereport__jsp._jspService(_configurereport__jsp.java:1231)
      

      This was caused from a MS bot clicking on the printable view of the reports page. The url contains an escaped ampersand. This wont break things in most browsers because they are smart enough to realise what the link is meant to be. I guess their bot just uses the url given and doesn't try interpret it.

      This ampersand should not be escaped.

      Attachments

        Issue Links

          Activity

            People

              andreask@atlassian.com Andreas Knecht (Inactive)
              nick.menere Nick Menere [Atlassian] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h