Merge branch '2.2.x' into 2.3.x

Closes gh-21720
This commit is contained in:
Stephane Nicoll 2020-06-05 16:41:24 +02:00
commit 400a168ce9
1 changed files with 2 additions and 2 deletions

View File

@ -160,11 +160,11 @@ public class TomcatWebServerFactoryCustomizer
}
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) {
factory.addConnectorCustomizers((connector) -> connector.setAttribute("relaxedQueryChars", relaxedChars));
factory.addConnectorCustomizers((connector) -> connector.setProperty("relaxedQueryChars", relaxedChars));
}
private String joinCharacters(List<Character> content) {