Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2005

response status code is always reset to http 200 by rendering filter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5.4
    • 3.5.3
    • core
    • None

    Description

      When using magnolia in order to render also error pages (typically for 404/not found pages) any status code gets reset in rendering filter, leading to an http 200 also in case of errors.
      It should be enough to remove the setStatus() call in rendering filter in order to preserve any existing status code.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD