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

Hash router adds second # if url ends with a #. #4732

Closed
birkskyum opened this issue Sep 21, 2024 · 0 comments · Fixed by #4730
Closed

Hash router adds second # if url ends with a #. #4732

birkskyum opened this issue Sep 21, 2024 · 0 comments · Fixed by #4730

Comments

@birkskyum
Copy link
Member

birkskyum commented Sep 21, 2024

This bug was surfaced by the Vitest PR here:

If there is a url ending with an empty hash like: http://localhost/#

Then the hash router would add a secondary hash when initializing, resulting in this:

http://localhost/##3/0/0

Repro:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant