Closed pengzhanbo closed 6 months ago
Just discovered a probably related bug. Using url query parameters like ?id=1 leads to a 404 as well. Install a fresh vuepress with cli and npm. Error occurs with any query string
Previous versions worked like so: https://vp2.akugel.de/news.html?id=1 Now is broken
Just discovered a probably related bug. Using url query parameters like ?id=1 leads to a 404 as well. Install a fresh vuepress with cli and npm. Error occurs with any query string
Previous versions worked like so: vp2.akugel.de/news.html?id=1 Now is broken
I have also noticed this issue, and I will fix it together in the PR #1562 .
Description
After upgrading from
rc.9
torc.11
, there was a change inbeforeResolve
where the path comparison switched fromto.path
toto.fullpath
.However,
to.fullpath
includes thehash
portion, which causes issues when the page is first loaded or when navigating to a page with ahash
in the path, resulting in the inability to match the correct route and leading to a404
error.Reproduction
-
Used Package Manager
pnpm
System Info