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

Multiple Content-Disposition headers added

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Security 1.0.10
    • Security 1.0.12
    • Extensions
    • None

    Description

      Multiple content-disposition headers can be added under some conditions.

      This seems to happen because setContentType is actually called more than once for the same response when multiple sling scripts are involved in rendering, e.g. via org.apache.sling.scripting.core.impl.DefaultSlingScript.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) line: 448

      Attachments

        1. 4604patch.txt
          15 kB
          Rob Ryan

        Activity

          People

            asanso Antonio Sanso
            rryan@adobe.com Rob Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: