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

Support path normalization before matching routes in URLRouter #667

Open
s-ludwig opened this issue May 16, 2014 · 0 comments · May be fixed by #737
Open

Support path normalization before matching routes in URLRouter #667

s-ludwig opened this issue May 16, 2014 · 0 comments · May be fixed by #737

Comments

@s-ludwig
Copy link
Member

See #410. URLRouter could get an optional mode, where the request path is first normalized (e.g. "/a//b/../c" getting "/a/c"). This could also be achieved using an intermediate request handler that alters the path. Another approach would be to add an intermediate handler that redirects to the normalized path instead (at least for GET requests).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant