This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
The following commit(s) were added to refs/heads/master by this push:
new 2f589bc Fixing an issue where the publish filter rejects requests to
the CMS
2f589bc is described below
commit 2f589bc51b337db92f9e4f9bcd9498c1598d6a2f
Author: Dan Klco <[email protected]>
AuthorDate: Thu Aug 9 14:09:44 2018 -0400
Fixing an issue where the publish filter rejects requests to the CMS
---
.../java/org/apache/sling/cms/core/internal/filters/PublishFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/main/java/org/apache/sling/cms/core/internal/filters/PublishFilter.java
b/core/src/main/java/org/apache/sling/cms/core/internal/filters/PublishFilter.java
index fab17fc..8ccc704 100644
---
a/core/src/main/java/org/apache/sling/cms/core/internal/filters/PublishFilter.java
+++
b/core/src/main/java/org/apache/sling/cms/core/internal/filters/PublishFilter.java
@@ -37,7 +37,7 @@ import org.osgi.service.component.annotations.Component;
* not set to publish=true
*/
@Component(service = { Filter.class }, property = {
"sling.filter.scope=request",
- "service.ranking=" + Integer.MAX_VALUE })
+ "service.ranking=" +
Integer.MAX_VALUE,"sling.filter.pattern=/content/.+" })
public class PublishFilter implements Filter {
private static final String[] VALID_METHODS = new String[] { "GET",
"HEAD" };