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

:paramName doesn't match URL segments containing dot '.' #2628

Closed
3 tasks done
bytesagar opened this issue Mar 21, 2021 · 2 comments · May be fixed by slumericanBx/vite#1
Closed
3 tasks done

:paramName doesn't match URL segments containing dot '.' #2628

bytesagar opened this issue Mar 21, 2021 · 2 comments · May be fixed by slumericanBx/vite#1
Labels
duplicate This issue or pull request already exists

Comments

@bytesagar
Copy link

bytesagar commented Mar 21, 2021

⚠️ IMPORTANT ⚠️ Please do not ignore this template. If you do, your issue will be closed immediately.

Describe the bug

:paramName doesn't match URL segments containing dot '.' in react proect with vitejs but works fine with npx create-react-app react app.

Reproduction

suppose we have a route <Route path="/user/pass/reset/:token" component={Reset} />
Now if we visit http://localhost:3000/user/pass/reset/abc.xyz it shows page not found in the project with vitejs but works fine in create-react-app.

System Info

  • vite version: 2.0.5
  • Operating System: Ubuntu 20.04
  • Node version: 14
  • Package manager (npm/yarn/pnpm) and version: npm

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.
@Deckluhm
Copy link
Contributor

Duplicate of #2415?

@anncwb
Copy link
Contributor

anncwb commented Mar 22, 2021

Closing as duplicate of #2415

@anncwb anncwb closed this as completed Mar 22, 2021
@Shinigami92 Shinigami92 added the duplicate This issue or pull request already exists label Mar 22, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
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
4 participants