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

$param containing dot (".") results in 404 #490

Open
yuliankarapetkov opened this issue Oct 28, 2022 · 0 comments
Open

$param containing dot (".") results in 404 #490

yuliankarapetkov opened this issue Oct 28, 2022 · 0 comments
Labels
bug Something isn't working needs triage v2

Comments

@yuliankarapetkov
Copy link

yuliankarapetkov commented Oct 28, 2022

bug description
When a param contains a dot (.), Routify returns 404.

steps to reproduce

  1. Create a route with a dynamic param, for example: /ex/[id].svelte.
  2. Navigate to /ex/abc - should be working as expected
  3. Navigate to /ex/abc.de - returns 404.

note
Not necessarily related but the same works in SvelteKit

version
Routify 2.18.8

screenshot

<script>
    import { params } from "@roxi/routify"
</script>

<h1>HELLO</h1>

<p>
    param: {$params?.id}
</p>

image

image

@yuliankarapetkov yuliankarapetkov added bug Something isn't working needs triage labels Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage v2
Projects
None yet
Development

No branches or pull requests

2 participants