Skip to content
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

error on refresh page with unplugin-vue-router #9135

Closed
7 tasks done
hi-reeve opened this issue Jul 15, 2022 · 1 comment
Closed
7 tasks done

error on refresh page with unplugin-vue-router #9135

hi-reeve opened this issue Jul 15, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@hi-reeve
Copy link

Describe the bug

i'm building vue app using unplugin-vue-router.
the problem is occured if we had dynamic path containing symbol e.g user/test@test.com , this cause an error when we refreshing the page, it has no problem on the first redirect using spa.
i've open issue on posva/unplugin-vue-router#34 but it seems like the problem is on the vite site

Reproduction

https://github.com/zynth17/unplugin-vue-router-bug-dynamic-path

System Info

System:
    OS: Linux 5.10 Ubuntu 20.04.4 LTS (Focal Fossa)
    CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics
    Memory: 11.59 GB / 11.99 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.2/bin/yarn
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
  npmPackages:
    @vitejs/plugin-vue: ^3.0.0 => 3.0.0
    @vitejs/plugin-vue-jsx: ^2.0.0 => 2.0.0
    vite: 3.0.0 => 3.0.0

Used Package Manager

pnpm

Logs

vite:spa-fallback Rewriting GET / to /index.html +0ms
vite:time 15.48ms /index.html +0ms
vite:spa-fallback Not rewriting GET /manage-people/manage-user/user/detail/dummystaff%2540mail.com?tab=user because the path includes a dot (.) character. +40ms
vite:time 3.05ms /manage-people/manage-user/user/detail/dummystaff%2540mail.com?tab=user +27ms

Validations

@sapphi-red
Copy link
Member

Duplicate of #2415

@sapphi-red sapphi-red marked this as a duplicate of #2415 Jul 15, 2022
@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2022
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels Jul 15, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants