[
https://issues.apache.org/jira/browse/SLING-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648309#comment-15648309
]
Rob Ryan commented on SLING-4604:
---------------------------------
Without more detail I can't really recommend adding the super.setContentType as
I don't see any way that could actually help. Please feel free to contact me
through Adobe channels so we can look at and discuss the details of the
particular case.
Thanks.
> 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)