Below release notes description is describing incorrectly current behavior. https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-6.2-Release-Notes#web-applications
Instead of assertion, missing trailing slash is added. https://github.com/spring-projects/spring-framework/issues/33815
Comment From: bclozel
I think our release notes are correct. Have you seen this? https://github.com/spring-projects/spring-framework/issues/33712
Comment From: infoShare
https://github.com/spring-projects/spring-framework/issues/33815 was implemented after https://github.com/spring-projects/spring-framework/issues/33712
And it changed
ResourceHandlerUtils.assertLocationPath(location);
to
location = ResourceHandlerUtils.initLocationPath(location);
on
https://github.com/spring-projects/spring-framework/commit/59ec871e76ae9c063e5959b4ebc3a5de02e93424#diff-917031cb7ed2ed99024dc5ceb3b17eca25c39fd5ebd02915ab3f1e25bd0d09a4
Comment From: bclozel
I think you're right. I'll defer to Rossen so that he can update this section with his perspective.