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

Add validation to matchPathToPattern method #2171

Conversation

syntheshad
Copy link
Contributor

Added a length validation to check if the base path and the request path are of equal length.

This is to avoid index out of bound issues that can be encountered for method rewrite rules.

Added a length validation to check if the base path and the request path are of equal length.

This is to avoid index out of bound issues that can be encountered for method rewrite rules.
@stevehu stevehu merged commit aeb5f61 into networknt:master Mar 7, 2024
1 check passed
@stevehu
Copy link
Contributor

stevehu commented Mar 7, 2024

@syntheshad Thanks a lot for your help.

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.

2 participants