-
Notifications
You must be signed in to change notification settings - Fork 36
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
slash at the end of route #24
Comments
They are technically two different routes, and I believe google would index them as such? I could be wrong though. |
@firasdib From what I know, websites will serve the same content if there is or isn't a preceding slash. Just try to add/remove the trailing slash from this issue :). |
@firasdib while you are technically right it does seem other routers might treat it (wrongly?) as if it was the same route. I guess a note in the documentation would prevent some surprises. |
@goliatone Can confirm a note in the documentation would have prevented me some surprises :) |
Hey,
Currently when there is a slash at the end of a route, the match function returns false.
For example:
Is this the expected behavior? Shouldn't the above return a truthful value, since the slash at the end doesn't have a real meaning?
The text was updated successfully, but these errors were encountered: