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

Stack trace should be hidden from REST responses

XMLWordPrintable

    • 16
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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

        1. stack_screen.png
          530 kB
          Alex Stegani

            Unassigned Unassigned
            astegani Alex Stegani
            Votes:
            36 Vote for this issue
            Watchers:
            39 Start watching this issue

              Created:
              Updated: