-
-
Notifications
You must be signed in to change notification settings - Fork 929
trailing slash not working anymore #3024
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
Labels
Area: Core
For anything dealing with Mithril core itself
Comments
|
no it is not working with the latest version. |
this code was in version 2.2.2, but it is not there anymore |
@dead-claudia , pull request created with a potential easy fix to this: PR3025. Hopefully this doesn't break anything..... |
And merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Mithril.js Version
2.2.3
Browser and OS
version 2.2.3
All OS/Browser
Project
No response
Code
Steps to Reproduce
test with http:/localhost/route and http:/localhost/route/ should go to the same page
Expected Behavior
trailing slash should not be removed from the matching route
Observed Behavior
http://localhost/#!/home and http://localhost/#!/home/ was both matching with /home route. Starting at version 2.2.3 , http://localhost/#!/home/ doesn't match to /home route anymore and is now going to default route.
Context
No response
The text was updated successfully, but these errors were encountered: