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

bonampak pushed a commit to branch feature/jakarta-jetty-upgrade
in repository https://gitbox.apache.org/repos/asf/knox.git

commit 2d25091df9ca791fce114964ccca2da5f2c6dbfb
Author: bonampak <[email protected]>
AuthorDate: Tue Apr 28 21:10:09 2026 +0200

    KNOX-3238: ignoring testEncodedForwardSlash as it is not allowed when using 
Servlet 6.
---
 .../src/test/java/org/apache/knox/gateway/GatewayBasicFuncTest.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/gateway-test/src/test/java/org/apache/knox/gateway/GatewayBasicFuncTest.java 
b/gateway-test/src/test/java/org/apache/knox/gateway/GatewayBasicFuncTest.java
index e5d9aa3b7..4cfc0d4b3 100644
--- 
a/gateway-test/src/test/java/org/apache/knox/gateway/GatewayBasicFuncTest.java
+++ 
b/gateway-test/src/test/java/org/apache/knox/gateway/GatewayBasicFuncTest.java
@@ -71,6 +71,7 @@ import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.Assume;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
@@ -1674,6 +1675,9 @@ public class GatewayBasicFuncTest {
     LOG_EXIT();
   }
 
+  // cannot pass an ambiguous / (encoded as either %2F or %252F) as part of 
the path section of the URI over HTTP
+  // any more with Servlet 6, see 
https://github.com/jetty/jetty.project/issues/11890
+  @Ignore //jetty-12-upgrade-ignore
   @Test( timeout = TestUtils.MEDIUM_TIMEOUT )
   public void testEncodedForwardSlash() throws IOException {
     LOG_ENTER();

Reply via email to