https://github.com/spring-projects/spring-boot/issues/27437

Comment From: philwebb

Thanks very much @cdalexndr. I've merged this into 2.4.x, 2.5.x and main.