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

Created on 13 May 2018  路  9Comments  路  Source: vuejs/vuepress

  • 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

Most helpful comment

VuePress v1.0.0 ? ? ? 馃槀

BTW, is there any reproduced repo?

All 9 comments

VuePress v1.0.0 ? ? ? 馃槀

BTW, is there any reproduced repo?

Time traveller

v0.8.4:sweat_smile::sweat_smile:

@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 ok... thx!

@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?

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gaomd picture gaomd  路  3Comments

cfjedimaster picture cfjedimaster  路  3Comments

genedronek picture genedronek  路  3Comments

herrbischoff picture herrbischoff  路  3Comments

tinchox5 picture tinchox5  路  3Comments