We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c6b69 commit 07b5904Copy full SHA for 07b5904
api/src/main/java/io/kafbat/ui/config/GeneralSecurityConfig.java
@@ -0,0 +1,17 @@
1
+package io.kafbat.ui.config;
2
+
3
+import org.springframework.context.annotation.Bean;
4
+import org.springframework.context.annotation.Configuration;
5
+import org.springframework.security.web.server.firewall.StrictServerWebExchangeFirewall;
6
7
+@Configuration
8
+public class GeneralSecurityConfig {
9
10
+ @Bean
11
+ public StrictServerWebExchangeFirewall strictServerWebExchangeFirewall() {
12
+ StrictServerWebExchangeFirewall firewall = new StrictServerWebExchangeFirewall();
13
+ firewall.setAllowUrlEncodedSlash(true);
14
+ return firewall;
15
+ }
16
17
+}
0 commit comments