Skip to content

Commit 663c593

Browse files
committed
allow 'encodedSolidusHandling'
1 parent 8065a0b commit 663c593

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package consulo.app.plugins.frontend;
2+
3+
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
4+
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
5+
import org.springframework.context.annotation.Bean;
6+
import org.springframework.context.annotation.Configuration;
7+
8+
/**
9+
* @author VISTALL
10+
* @since 2026-03-09
11+
*/
12+
@Configuration
13+
public class TomcatConfiguration {
14+
@Bean
15+
public WebServerFactoryCustomizer<TomcatServletWebServerFactory> tomcatCustomizer() {
16+
return factory -> factory.addConnectorCustomizers(connector -> {
17+
connector.setProperty("encodedSolidusHandling", "passthrough");
18+
});
19+
}
20+
}

0 commit comments

Comments
 (0)