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

Fix middleware dynamic route param on query hydration #41436

Merged
merged 1 commit into from Oct 15, 2022

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Oct 15, 2022

Ensures query params aren't included when parsing dynamic route params during query hydration for a middleware matched path.

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have a helpful link attached, see contributing.md

Fixes: slack thread

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team type: next labels Oct 15, 2022
@ijjk ijjk marked this pull request as ready for review October 15, 2022 01:07
@ijjk ijjk merged commit 8c3366a into vercel:canary Oct 15, 2022
@ijjk ijjk deleted the fix/middleware-dynamic-param branch October 15, 2022 01:46
Kikobeats pushed a commit to Kikobeats/next.js that referenced this pull request Oct 24, 2022
Ensures query params aren't included when parsing dynamic route params
during query hydration for a middleware matched path.

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

Fixes: [slack
thread](https://vercel.slack.com/archives/C035J346QQL/p1665692236623799)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants