We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the middleware redirects a pathname to a localized version the search params are removed.
This has been tested with the latest RC 4
https://codesandbox.io/p/sandbox/next-intl-bug-template-app-forked-f22qnx
Steps to reproduce:
Search params should stay intact when redirecting
The text was updated successfully, but these errors were encountered:
Good point, thanks for the report!
Would you be interested in adding a fix for this?
The relevant code is:
The RC is based on the feat/next-13-rsc branch.
feat/next-13-rsc
Let me know if you're interested!
Sorry, something went wrong.
Sure thing! I created the PR
fix(RSC): Fixed the search not being added on localized pathname redi…
d1b398d
…rects (#569) Fixes #568 --------- Co-authored-by: Jan Amann <[email protected]>
No branches or pull requests
Description
When the middleware redirects a pathname to a localized version the search params are removed.
This has been tested with the latest RC 4
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/sandbox/next-intl-bug-template-app-forked-f22qnx
Reproduction description
Steps to reproduce:
Expected behaviour
Search params should stay intact when redirecting
The text was updated successfully, but these errors were encountered: