Skip to content
New issue

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

SEC-2776: Allow HTTPRequest header to be searched with regex #3005

Open
spring-projects-issues opened this issue Dec 2, 2014 · 1 comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement type: jira An issue that was migrated from JIRA

Comments

@spring-projects-issues
Copy link

James McShane (Migrated from SEC-2776) said:

Currently, there are two request matchers that have individual functionality that I would like combined. The RegexRequestMatcher matches the request url against a pattern, whereas the HeaderRequestMatcher attempts to match a header exactly. I propose a class called RegexHeaderRequestMatcher.

Some use cases:

  • Grab the XFF header matching some IP pattern
  • Matching a set of content-types for specific request
  • custom sites which integrate with Sharepoint search, which searches sites using a searcher that will match some pattern, but no specific name is known.
@spring-projects-issues
Copy link
Author

James McShane said:

Sorry, this should be in the spring security jira

@spring-projects-issues spring-projects-issues added in: web An issue in web modules (web, webmvc) Open type: enhancement A general enhancement type: jira An issue that was migrated from JIRA labels Feb 5, 2016
@rwinch rwinch removed the Open label May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Projects
None yet
Development

No branches or pull requests

2 participants