[ https://issues.apache.org/jira/browse/SLING-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Ryan updated SLING-4604: ---------------------------- Attachment: 4604patch.txt the attached patch fixes the extra disposition headers and avoids running the bulk of the work if the content type is not changing from a previously seen value. > Multiple Content-Disposition headers added > ------------------------------------------ > > Key: SLING-4604 > URL: https://issues.apache.org/jira/browse/SLING-4604 > Project: Sling > Issue Type: Bug > Components: Extensions > Affects Versions: Security 1.0.10 > Reporter: Rob Ryan > Attachments: 4604patch.txt > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)