mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
5a4a677fbd
Prior to this commit, `SimpleUrlHandlerMapping` and other implementations of `AbstractUrlHandlerMapping` would not strip the Servlet context path from the request path before performing path matching with PathPattern instances. This resulted in requests not matching as expected if the application was configured with a Servlet context path. This commit ensures that the `RequestPath` "path whithin the application" is used for matching against path patterns. Fixes gh-26411