-
Notifications
You must be signed in to change notification settings - Fork 335
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
Bad redirections in URLs with trailing slashes #820
Comments
A bit of context:
Summary: the code introduced in #170 is faulty. It went unnoticed until it was copied into mirage-www. Thanks to @TheLortex and @reynir for reporting this. Questions:
|
@cuihtlauac I'm not actively working on it, so I would be happy if you can fix it on you side.
That's a complex matter because we don't know if the canonical path for given route should end by a slash or not. not ending by a slash every path is an opinionated decision so it might have difficulties going in dream. But I agree that would be useful. |
I think it could make sense to upstream functions to Dream that help deal with the somewhat complex semantics of the |
Fixed by #866 |
The trailing slash middleware #170 introduced problems in some situations:
Thanks to @reynir who identified the issue in mirage.io
The text was updated successfully, but these errors were encountered: