mefechoel / svelte-navigator

Simple, accessible routing for Svelte
Other
509 stars 39 forks source link

vite and route with path parameter value contains a dot #104

Closed spaceman2023 closed 1 year ago

spaceman2023 commented 1 year ago

When you have a route with a path parameter you won't be able to navigate to the route if your path parameter value contains a dot. In the readme there is a reference for sirv, but I use vite. Who can help me to solve the problem?

mefechoel commented 1 year ago

Yes, this is an issue with vite. You can try to work around that by url encoding the "." character with "%2e". Other than that please file an issue with vite if there isn't one already.