-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Problem with sidebar links and history back button #307
Comments
Maybe I should have specified that this happen only when sidebar items name are in Chinese, would be nice if someone else could test and confirm or dismiss. Thanks! |
I got a 404 too, when refreshing the page or opening the link directly. |
I'm facing the same problem, have you solved it? If so, how? |
I did some checking just now, as @x8x said, it happens when the url contains Chinese. Are there any plans to fix this? |
I have been looking at this problem and here what I have find so far:
I believe this is simply a problem where the path was normalized with I can work on a PR to try fix this situation 👍 This should also solve the problem #344 |
May be it does is the reason.
It will be nice if it is fixed, and please inform me at once if there is
any progress.
Thank you so much!
2018-05-07 3:45 GMT+08:00 Hugo Matalonga <notifications@github.com>:
… I have been looking at this problem and here what I have find so far:
1. When you click for the 1st time on the first link $route.path is
"/中文手册.html" which matches with the correct filename generate by the
build command.
2. However once you hit the browser return button, $route.path will be
/%E4%B8%AD%E6%96%87%E6%89%8B%E5%86%8C.html this will cause a error not
finding the file.
I believe this is simply a problem where the filename was normalized with
decodeURIComponent on the return action and it wasn't normalized when
generating the filename during the build process, so in the end they don't
match.
I can work on a PR to try fix this situation 👍
This should also solve the problem #344
<#344>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#307 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANMSN70cAg0W_Qf9HEobcAOaStFeZCRyks5tv1LBgaJpZM4Tscoo>
.
|
This should be fixed at #473 |
How to reproduce:
http://127.0.0.1:3000/
The text was updated successfully, but these errors were encountered: