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

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
     new 7fbe436e2f Syntax error fix for default filter (#381)
7fbe436e2f is described below

commit 7fbe436e2fca35bf3a169df6a6fb5b9044fce4c7
Author: Stefan Weiser <[email protected]>
AuthorDate: Mon Feb 10 14:46:41 2025 +0100

    Syntax error fix for default filter (#381)
---
 .../main/java/org/apache/felix/http/proxy/impl/DispatcherTracker.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/http/proxy/src/main/java/org/apache/felix/http/proxy/impl/DispatcherTracker.java
 
b/http/proxy/src/main/java/org/apache/felix/http/proxy/impl/DispatcherTracker.java
index 7bd92c4397..1d7baf771e 100644
--- 
a/http/proxy/src/main/java/org/apache/felix/http/proxy/impl/DispatcherTracker.java
+++ 
b/http/proxy/src/main/java/org/apache/felix/http/proxy/impl/DispatcherTracker.java
@@ -28,7 +28,7 @@ import org.osgi.util.tracker.ServiceTracker;
 public final class DispatcherTracker
     extends ServiceTracker<HttpServlet, HttpServlet>
 {
-    final static String DEFAULT_FILTER = "((http.felix.dispatcher=*)(" + 
Constants.OBJECTCLASS + "=" + HttpServlet.class.getName() + "))";
+    final static String DEFAULT_FILTER = "(&(http.felix.dispatcher=*)(" + 
Constants.OBJECTCLASS + "=" + HttpServlet.class.getName() + "))";
 
     private final ServletConfig config;
     private HttpServlet dispatcher;

Reply via email to