This is fixed with Spring Boot 3.4.0. See https://github.com/spring-projects/spring-boot/commit/44e66ef3449f8f6a69b4116fb4543d2ba5f4244e and https://github.com/spring-projects/spring-boot/issues/42731.
But Spring Boot doesn't officially support Tomcat 11 yet. See https://github.com/spring-projects/spring-boot/issues/42730.