-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[🐞] SSG Link componet strips search parameters #6753
Comments
|
Yes. This is the link that works:
This is the link not working:
I'm using Link, so it should already be SPA navigation, or am I wrong?
One workaound I have found is to use a url that isn't exactly the right one as the origin of the static adapter. |
Sorry I meant, does it work with regular SSR, not SSG? |
Yes. I tried with nodejs adapter and it works. This is the command I ran (powershell):
|
Which component is affected?
Qwik City (routing)
Describe the bug
Since qwik 1.7.0, Link component strips search parameters.
For example:
Static adapter origin is http://localhost:9999
http:/localhost:9999/view?id=42
-> it will route tohttp:/localhost:9999/view
http:/127.0.0.1:9999/view?id=42
-> it will route tohttp:/127.0.0.1:9999/view?id=42
I would expect both links to route to
[scheme]://[origin]:[port]/view?id=42
Reproduction
https://github.com/handymenny/qwik-ssg-link-bug/
Steps to reproduce
System Info
Additional Information
Versions affected:
Versions not affected:
The text was updated successfully, but these errors were encountered: