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

Make normalize_path configurable to allow for trailing slashes #530

Open
alper opened this issue Nov 13, 2024 · 0 comments
Open

Make normalize_path configurable to allow for trailing slashes #530

alper opened this issue Nov 13, 2024 · 0 comments

Comments

@alper
Copy link

alper commented Nov 13, 2024

I think paths should be normalised to end with a slash.

See how (and why) Django does this:

Since tower-http/src/normalize_path.rs has already gone in the other direction, I guess the best way forward would be to make it configurable so that those who prefer trailing slashes can get them?

I'll happily make the change.

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

No branches or pull requests

1 participant