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

Stack trace should be hidden from REST responses

    XMLWordPrintable

Details

    • 12
    • 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.

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              astegani Alex Stegani
              Votes:
              33 Vote for this issue
              Watchers:
              34 Start watching this issue

              Dates

                Created:
                Updated: