We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some MVC frameworks allow for leaving out the leading slash from request mappings:
@ApplicationPath("app")
Which can lead folks to use the same pattern in their request matcher:
requestMatchers("app")
However, this has a different meaning in Ant. When what intend is likely:
requestMatchers("/app/**")
Spring Security should remove this ambiguity by failing when a leading slash is missing from any requestMatchers pattern.
requestMatchers
Since this wouldn't be passive, for 6.x, we should log a warning message. For 7.x, we should throw an exception.
6.x
7.x
The text was updated successfully, but these errors were encountered:
8a6e129
jzheaux
No branches or pull requests
Some MVC frameworks allow for leaving out the leading slash from request mappings:
Which can lead folks to use the same pattern in their request matcher:
However, this has a different meaning in Ant. When what intend is likely:
Spring Security should remove this ambiguity by failing when a leading slash is missing from any
requestMatchers
pattern.Since this wouldn't be passive, for
6.x
, we should log a warning message. For7.x
, we should throw an exception.The text was updated successfully, but these errors were encountered: