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

server: Don't require trailing slash at the end of request paths #1270

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

svix-jplatte
Copy link
Member

Closes #1254.

@svix-jplatte svix-jplatte requested a review from a team as a code owner March 13, 2024 09:58
@svix-jplatte svix-jplatte merged commit 2061286 into main Mar 13, 2024
5 checks passed
@svix-jplatte svix-jplatte deleted the jplatte/normalize-path branch March 13, 2024 14:11
svix-jplatte added a commit that referenced this pull request Mar 13, 2024
Now that we normalize paths, any routes registered with a slash at the
end can't actually be hit at all as the trailing slash will be stripped
before the request goes to the router.

Follow-up to #1270
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.

Support URLs without trailing slashes?
2 participants