Orlowska created SLING-7525:

             Summary: Content-Type missing after applying the 
ContentDispositionFilter twice
                 Key: SLING-7525
                 URL: https://issues.apache.org/jira/browse/SLING-7525
             Project: Sling
          Issue Type: Bug
    Affects Versions: Security 1.1.10, Security 1.1.8
            Reporter: Orlowska

The issue started with the SLING-7219.

When the {{ContentDispositionFilter}} is called twice (as a request filter and 
as a forward filter) on a single request then the {{Content-Type}} is not 
propagated and missing in the Response.


On the second pass in the {{setContentType()}} the condition [1]
if (previousContentType != null && previousContentType.equals(type)){code}
will be fulfilled so the [2]
will not be called.




This message was sent by Atlassian JIRA

Reply via email to