Create RelaxedQueryCharsConnectorCustomizer

pull/764/head
bearBoy80 2022-08-11 17:36:17 +08:00 committed by GitHub
parent 1c141bfc5d
commit 45306519e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
@Configuration(proxyBeanMethods = false)
public class RelaxedQueryCharsConnectorCustomizer implements TomcatConnectorCustomizer {
@Override
public void customize(Connector connector) {
connector.setProperty("relaxedQueryChars", "[]{}");
}
}