You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give warning when using capturing patterns with the AntPathMatcher #27688
changed the title [-]Better convention for tail path resolution with @PathVariable[/-][+]Give warning when using capturing patterns with the AntPathMatcher[/+]on Nov 17, 2021
This issue was probably due to using the default AntPathMatcher in combination with a capturing pattern ({*foo}). We should throw an exception when users do so.
Activity
poutsma commentedon Nov 17, 2021
I can't reproduce this. With the following handler method:
a request for
/resources/foo/bar/bazreturns/foo/bar/baz.[-]Better convention for tail path resolution with @PathVariable[/-][+]Give warning when using capturing patterns with the AntPathMatcher[/+]poutsma commentedon Nov 17, 2021
This issue was probably due to using the default
AntPathMatcherin combination with a capturing pattern ({*foo}). We should throw an exception when users do so.Throw exception using capturing patterns in AntPathMatcher