Browse Source

Merge branch '2.2.x' into 2.3.x

Closes gh-21720
pull/21793/head
Stephane Nicoll 6 years ago
parent
commit
400a168ce9
  1. 4
      spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/TomcatWebServerFactoryCustomizer.java

4
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/TomcatWebServerFactoryCustomizer.java

@ -160,11 +160,11 @@ public class TomcatWebServerFactoryCustomizer
} }
private void customizeRelaxedPathChars(ConfigurableTomcatWebServerFactory factory, String relaxedChars) { private void customizeRelaxedPathChars(ConfigurableTomcatWebServerFactory factory, String relaxedChars) {
factory.addConnectorCustomizers((connector) -> connector.setAttribute("relaxedPathChars", relaxedChars)); factory.addConnectorCustomizers((connector) -> connector.setProperty("relaxedPathChars", relaxedChars));
} }
private void customizeRelaxedQueryChars(ConfigurableTomcatWebServerFactory factory, String relaxedChars) { private void customizeRelaxedQueryChars(ConfigurableTomcatWebServerFactory factory, String relaxedChars) {
factory.addConnectorCustomizers((connector) -> connector.setAttribute("relaxedQueryChars", relaxedChars)); factory.addConnectorCustomizers((connector) -> connector.setProperty("relaxedQueryChars", relaxedChars));
} }
private String joinCharacters(List<Character> content) { private String joinCharacters(List<Character> content) {

Loading…
Cancel
Save