Skip to content

Commit b098949

Browse files
authored
Merge branch 'main' into patch-2
2 parents 523d68a + 07b5904 commit b098949

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Versatile, fast and lightweight web UI for managing Apache Kafka® clusters.
1818
<a href="https://ui.docs.kafbat.io/quick-start/demo-run">Quick Start</a> •
1919
<a href="https://discord.gg/4DWzD7pGE5">Community</a>
2020
<br/>
21+
<a href="https://aws.amazon.com/marketplace/pp/prodview-6tdqqzzjwmejq">AWS Marketplace</a> •
2122
<a href="https://www.producthunt.com/products/ui-for-apache-kafka/reviews/new">ProductHunt</a>
2223
</p>
2324

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)