Skip to content

Fix route mismatch against shorter paths when params are missing - #96

Merged
eldadfux merged 1 commit into
masterfrom
fix-route-mistmatch
May 30, 2023
Merged

eldadfux merged 1 commit into
masterfrom
fix-route-mistmatch

Conversation

@abnegate

Copy link
Copy Markdown
Member

What's Changed

  • Added a check to ensure that the matched URL has the same amount of segments (separated by /) as the route. This ensures that a URL will not match an incorrect route if parameters are missing.

Tests

  • Added new tests to ensure correct matching

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.

🐛 Bug Report: Server sdk for node deleteFile api delete storage bucket instead of file.

2 participants