-
Notifications
You must be signed in to change notification settings - Fork 687
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
Page sometimes appending an additional slash? #332
Comments
+1 When editing the URL manually from the browser, it breaks in the same way for me too. |
I'm running into the same issue. Looks like this PR fixes this: #322 |
I stopped using |
Interesting, yeah I implemented my own work around where I catch 404's and see if they are equal to '/' plus an existing route. Very ugly but Necessary until this gets fixed. |
@farzher ah sweet. |
Gonna try that too. |
You could even put |
I believe this has been fixed by a recent version. I was unable to create it upon trying. Please try yourself using 1.8.0 and let me know if it's still an issue. Thanks! |
Hi, so my routing setup looks like this:
If I use
page('/home')
in my code, no problemsif i just enter http://mysite.com/#!/home then i hit the catchall callback and the value of page.current is
'//home'
with two slashes, if i just hit enter in the address bar again then it hits the'/home'
callback, as expected.So what gives? what am I doing wrong
The text was updated successfully, but these errors were encountered: