[
https://issues.apache.org/jira/browse/SLING-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089054#comment-14089054
]
Bertrand Delacretaz commented on SLING-3815:
--------------------------------------------
Ah ok, I had forgotten about existing static methods like
RequestData.setMaxIncludeCounter and other similar methods. That's ugly (and
maybe I wrote some of that ages ago;-) but I agree with you that it's better to
follow the same pattern for now, to make the code consistent.
> Add support for X-Content-Type-Options: nosniff
> ------------------------------------------------
>
> Key: SLING-3815
> URL: https://issues.apache.org/jira/browse/SLING-3815
> Project: Sling
> Issue Type: Improvement
> Components: Engine
> Reporter: Antonio Sanso
> Assignee: Antonio Sanso
> Priority: Minor
> Attachments: SLING-3815-patch.txt, SLING-3815-patch2.txt
>
>
> It would be nice if Sling will have customizable support for
> X-Content-Type-Options: nosniff .
> This is really useful to defend against some common attack e.g. XSS, Rosetta
> Flash etc.
--
This message was sent by Atlassian JIRA
(v6.2#6252)