Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18637

Return proper HTTP status code on error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0-HF25, 7.10-HF03, 8.1
    • Component/s: Web Common

      Description

      Today nuxeo_error.jsp and nuxeo_error_security.jsp are returned with a HTTP code 200 which is problematic especially when these pages are returned for REST GET operations of files, in which case the client isn't aware that it's getting a corrupted result.

      We must return proper 500 or 403 errors in these cases.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: