Stack trace should be hidden from REST responses

XMLWordPrintable

    • 14

      Certain URLs may return a XML response containing a stack trace. In JRASERVER-38101, we allowed admins to hide/show the stack trace in the 500 error webpage, but XML responses were not in the scope of the fix.

      Steps to reproduce

      Open the following URL in a web browser:

      • http://<<jira_node>>/rest/api/1.0/menus/home_link

      or using curl:

      curl http://<<jira_node>>/rest/api/1.0/menus/home_link 
      

      Observed behaviour

      A stack trace is displayed

      Desired behaviour

      The stack trace should be hidden

            Assignee:
            Unassigned
            Reporter:
            Alex Stegani
            Votes:
            40 Vote for this issue
            Watchers:
            45 Start watching this issue

              Created:
              Updated:
              Resolved: