From 0bab6f74c56d5e33edae0f84d7d327866f49572a Mon Sep 17 00:00:00 2001 From: thanicz Date: Thu, 31 Oct 2024 13:05:28 +0100 Subject: [PATCH] KNOX-3072: Added blockEncodedForwardSlash to ShiroConfig --- .../java/org/apache/knox/gateway/deploy/impl/ShiroConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/gateway-provider-security-shiro/src/main/java/org/apache/knox/gateway/deploy/impl/ShiroConfig.java b/gateway-provider-security-shiro/src/main/java/org/apache/knox/gateway/deploy/impl/ShiroConfig.java index de4084f410..e11813fef5 100644 --- a/gateway-provider-security-shiro/src/main/java/org/apache/knox/gateway/deploy/impl/ShiroConfig.java +++ b/gateway-provider-security-shiro/src/main/java/org/apache/knox/gateway/deploy/impl/ShiroConfig.java @@ -37,6 +37,7 @@ public ShiroConfig(Provider provider, String clusterName) { params.putIfAbsent("main.invalidRequest.blockSemicolon", "false"); params.putIfAbsent("main.invalidRequest.blockBackslash", "false"); params.putIfAbsent("main.invalidRequest.blockNonAscii", "false"); + params.putIfAbsent("main.invalidRequest.blockEncodedForwardSlash", "false"); for(Entry entry : params.entrySet()) { int sectionDot = entry.getKey().indexOf('.');