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

Fix flaw in api look up regex. #1420

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Fix flaw in api look up regex. #1420

merged 1 commit into from
Jan 9, 2023

Conversation

monde
Copy link
Collaborator

@monde monde commented Jan 9, 2023

URI's like /api/v1/authorizationServers/0123456789abcdefghij/policies/0123456789abcdefghij were being normalized as /api/v1/ID/ID/policies/ID and the regex / string replacement used for this need to be more precise to produce /api/v1/authorizationServers/ID/policies/ID

Closes #1417

@monde monde merged commit f977c00 into master Jan 9, 2023
@monde monde deleted the rate_limit_regex_regression branch January 9, 2023 21:21
@monde monde mentioned this pull request Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect rate limiting for some resources
2 participants