You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jean-Christophe Kautzmann (JIRA)" <ji...@apache.org> on 2015/11/06 16:06:27 UTC

[jira] [Created] (SLING-5273) Content-Disposition attachment filter: improve the description of the properties

Jean-Christophe Kautzmann created SLING-5273:
------------------------------------------------

             Summary: Content-Disposition attachment filter: improve the description of the properties
                 Key: SLING-5273
                 URL: https://issues.apache.org/jira/browse/SLING-5273
             Project: Sling
          Issue Type: Improvement
            Reporter: Jean-Christophe Kautzmann
            Assignee: Antonio Sanso


I find the descriptions of the OSGI properties of the Content-Disposition attachment filter [0] a bit unclear.

Here are some suggestions (and questions):

1. “Content Disposition Paths"
I would suggest the description:
{{Paths for which the Content Disposition is applied}}

It seems that adding a content type makes the filter to not apply the Content Disposition, which contradicts the former sentence. Could you please clarify?

2. “Content Disposition Excluded Paths"
I would suggest the description:
{{Paths for which the Content Disposition is not applied}}

3. "Enable Content Disposition for all paths” flag.
I would suggest the description:
{{Check to apply the Content Disposition for all paths, except for the excluded paths defined by sling.content.disposition.excluded.paths}}

[0] https://github.com/apache/sling/blob/trunk/contrib/extensions/security/src/main/java/org/apache/sling/security/impl/ContentDispositionFilter.java




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)