Skip to content

Url with params will redirect to a wrong place if the html file name contains UPPERCASE letter #441

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

Closed
xiaotianxia opened this issue May 13, 2018 · 9 comments

Comments

@xiaotianxia
Copy link

xiaotianxia commented May 13, 2018

  • Mac OS
  • Node.js version v8.11.1
  • VuePress version v0.8.4
  • Browser version chorme 66
  • Is this a global or local install? global
  • Which package manager did you use for the install? npm

Url with params will redirect to a wrong place if the html file name contains UPPERCASE letter
eg.
My file name is 'demo_Ademo', when I visit url as 'https://mydomain/js/demo_Ademo.html?a=1111' ,it will redirect to 'https://mydomain/js/demo_ademo?a=1111', and then returns a notFound page

@ulivz
Copy link
Member

ulivz commented May 13, 2018

VuePress v1.0.0 ? ? ? 😂

BTW, is there any reproduced repo?

@meteorlxy
Copy link
Member

Time traveller

@xiaotianxia
Copy link
Author

v0.8.4:sweat_smile::sweat_smile:

@ulivz ulivz added type: bug Something isn't working and removed need repro type: bug Something isn't working labels May 14, 2018
@ulivz
Copy link
Member

ulivz commented May 15, 2018

@xiaotianxia

Please check with your server config.

Why **/upload_using_filereader_and_createobjecturl.html/?a=1 was redirected to **/upload_using_filereader_and_createobjecturl/?a=1 which isn't caused by vuepress 😅

@ulivz ulivz closed this as completed May 15, 2018
@xiaotianxia
Copy link
Author

@ulivz ok... thx!

@xkcoding
Copy link

@xiaotianxia are your website deployed by Netlify?? I got the same error..but I don't know how to fix it. Can you help me?

@xiaotianxia
Copy link
Author

@xkcoding make sure that all your file name is lower case 😂 :

@xkcoding
Copy link

@xiaotianxia thx for your apply. I resolved my problem. #457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants