[ 
https://issues.apache.org/jira/browse/SLING-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648300#comment-15648300
 ] 

Alessandro Bonfatti commented on SLING-4604:
--------------------------------------------

Hi [[email protected]] we actually have a ticket submitted to Adobe for an issue 
serving an index.html file from the AEM DAM after we installed the AEM 6.1 SP2 
package. The issue happens on the publish instance, when the the request is for 
a mapped path and relies on the default index.html file resolution (EG: 
www.domain.com/mapped_folder/). Do you see any problem if we add 
super.setContentType(type) before the return line?

> 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
>            Assignee: Antonio Sanso
>             Fix For: Security 1.0.12
>
>         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)

Reply via email to