errors.jsp should return HTTP 500 Server Error instead of HTTP 200 OK when errors are present

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.5.4, 2.6.0
    • Affects Version/s: 2.5.2
    • Component/s: None
    • Environment:

      Currently errors.jsp page returns HTTP status code 200 OK even when there are errors present on the page.

      In order to use errors.jsp page for load balancer health checks it would be good if e.g. 500 Internal Server Error was returned in case that there are some errors preventing Confluence from running properly.

      The fix is pretty easy as you can see in the attached patch file.

            Assignee:
            Unassigned
            Reporter:
            Igor Minar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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