Vercel has a Chinese path problem
https://github.com/vuejs/vitepress/issues/4408
该问题似乎只出现于Google Chrome,使用Microsoft Edge时无法复现问题。Google Chrome的版本号为131.0.6778.109。
The issue appears to be specific to Google Chrome and does not appear to be repeated when using Microsoft Edge. The version number of Google Chrome is 131.0.6778.109.
使用vercel.com
,当网页的路径中存在中文时,如:/cnpath/中文.html
,网页会先报错404
,刷新后报错500
,显示MIDDLEWARE_INVOCATION_FAILED
。
Using vercel.com
, when a Chinese character exists in the path of a webpage, such as /cnpath/中文.html
, the webpage will first return an error of 404
, then refresh and return an error of 500
with the message MIDDLEWARE_INVOCATION_FAILED
.