Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11514

Provide dispatcher option to ignore header changes on include

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • API 2.26.0, Engine 2.10.2
    • API, Engine
    • None

    Description

      The servlet specification states in section 9.3 that on dispatcher include (not forward), all changes to headers from the include must be ignored.
      As Sling is following the servlet spec for includes and forwards, Sling should do the same. However, after 15 years of allowing an include to change headers, this has a large potential to break existing applications.
      Therefore we should rather provide a dispatcher option, that can be set to force this new behaviour.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: