You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by as...@apache.org on 2017/10/27 12:35:41 UTC

[sling-org-apache-sling-security] branch master updated: SLING-7219 - Add scope forward to ContentDispositionFilter

This is an automated email from the ASF dual-hosted git repository.

asanso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-security.git


The following commit(s) were added to refs/heads/master by this push:
     new 640ae29  SLING-7219 - Add scope forward to ContentDispositionFilter
640ae29 is described below

commit 640ae29fdaf46e258855cf07a419b8e20e3a4dca
Author: Antonio Sanso <as...@adobe.com>
AuthorDate: Fri Oct 27 14:35:31 2017 +0200

    SLING-7219 - Add scope forward to ContentDispositionFilter
---
 .../java/org/apache/sling/security/impl/ContentDispositionFilter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/security/impl/ContentDispositionFilter.java b/src/main/java/org/apache/sling/security/impl/ContentDispositionFilter.java
index a0f148b..454e5ff 100644
--- a/src/main/java/org/apache/sling/security/impl/ContentDispositionFilter.java
+++ b/src/main/java/org/apache/sling/security/impl/ContentDispositionFilter.java
@@ -44,7 +44,7 @@ import org.osgi.service.metatype.annotations.Designate;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-@Component(property={"sling.filter.scope=request", "service.ranking:Integer=25000"})
+@Component(property={"sling.filter.scope=request", "sling.filter.scope=forward", "service.ranking:Integer=25000"})
 @Designate(ocd=ContentDispositionFilterConfiguration.class)
 public class ContentDispositionFilter implements Filter {
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].