qwik icon indicating copy to clipboard operation
qwik copied to clipboard

[🐞] SSR Redirect (from Action) with Query Parameter doesn't work properly.

Open fprl opened this issue 1 year ago • 4 comments

Which component is affected?

Qwik City (routing)

Describe the bug

Hi there, thanks for checking this repro. I'm facing this issue where redirecting to the same page with query params inside a routeAction is not working.

You can test this by changing the first select to "Redirect to same page" or "Redirect to test page" (where it works).

PS: This is probably related to https://github.com/BuilderIO/qwik/issues/5342

Thanks!

Reproduction

https://github.com/fprl/qwik-formaction-redirect

Steps to reproduce

  1. npm run dev
  2. Change the first select to "Redirect to same page" or "Redirect to test page" and submit to see the difference (also check console logs).

System Info

System:
    OS: macOS 14.0
    CPU: (8) arm64 Apple M1
    Memory: 83.69 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
    Yarn: 3.6.3 - ~/.yarn/bin/yarn
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
    pnpm: 8.5.1 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 119.0.6045.159
    Safari: 17.0
  npmPackages:
    @builder.io/qwik: ^1.2.19 => 1.2.19 
    @builder.io/qwik-city: ^1.2.19 => 1.2.19 
    undici: ^5.26.0 => 5.27.2 
    vite: ^4.4.11 => 4.5.0

Additional Information

No response

fprl avatar Nov 22 '23 12:11 fprl