Merge pull request #21671 from dreis2211
* pr/21671: Remove usages of deprecated Connector.setAttribute() Closes gh-21671
This commit is contained in:
		
						commit
						221e248b66
					
				|  | @ -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) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue