Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1426: Simplify Request Matching Stratgegies #1669

Closed
spring-issuemaster opened this Issue Feb 27, 2010 · 1 comment

Comments

Projects
None yet
1 participant

Luke Taylor (Migrated from SEC-1426) said:

The Ant and Regex strategy options should be simplified. Ant matchers should always use case-insensitive comparison and always ignore the query string. Having options to override this behaviour isn't really necessary. The default regex matcher should retain the query string and should have the option of using case-insensitive matching when compiling the pattern.

Luke Taylor said:

Ant pattern matching is now case-insensitive and ignores the query String (see AntPathRequestMatcher). Regex matching is implemented in RegexRequestMatcher. It includes the query string and has a constructor which allows case-insensitive matching to be used. The namespace now uses the "request-matcher" attribute in preference to "path-type" and has the options "ant", "regex" and "ciRegex".

@spring-issuemaster spring-issuemaster added this to the 3.1.0.M1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment