Skip to content

Commit 07b5904

Browse files
authored
BE: SR: Fix HTTP 400 with slashes in schema name (#849)
1 parent 01c6b69 commit 07b5904

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)