next.js
fix: prevent URL mutation in router rewrites
#83963
Merged

fix: prevent URL mutation in router rewrites #83963

wyattjoh
ijjk ijjk added created-by: Next.js team
ijjk ijjk added tests
ijjk ijjk added type: next
wyattjoh
wyattjoh wyattjoh changed the base branch from fix/router-header-matching-edge-cases to graphite-base/83963 104 days ago
wyattjoh wyattjoh force pushed from 48dc521e to b1805eb8 104 days ago
wyattjoh wyattjoh changed the base branch from graphite-base/83963 to canary 104 days ago
wyattjoh wyattjoh marked this pull request as ready for review 104 days ago
ijjk
ijjk
wyattjoh wyattjoh force pushed from b1805eb8 to 48466b46 104 days ago
ijjk
ijjk commented on 2025-09-18
ijjk
ijjk commented on 2025-09-18
wyattjoh wyattjoh force pushed from 48466b46 to b3303b3e 99 days ago
graphite-app
graphite-app commented on 2025-09-18
wyattjoh wyattjoh force pushed from b3303b3e to 0e2e7f25 99 days ago
wyattjoh test: added test case to validate the resolution
29ded7d3
wyattjoh test: added support for experimental deployment testing
c8d3bedd
wyattjoh fix: enable env vars for experiments to apply during deployment
1332c8d1
wyattjoh fix: don't use rewrite url as resolved pathname, remove special cased…
aa0eaf22
wyattjoh fix: prevent mutating the original parsedUrl
dc53a41e
wyattjoh fix: modify handleRewrites to always create a clone internally to return
8e1b1882
wyattjoh fix: merge query params in when working with the pages router
2deb5984
wyattjoh wyattjoh force pushed from 0e2e7f25 to d81d744e 98 days ago
wyattjoh fix: preserve catch-all route normalization while preventing App Rout…
67b48b53
wyattjoh wyattjoh force pushed from d81d744e to 67b48b53 98 days ago
wyattjoh wyattjoh requested a review from ijjk ijjk 98 days ago
ztanner
ztanner approved these changes on 2025-09-24
wyattjoh wyattjoh merged 2921fb33 into canary 98 days ago
wyattjoh wyattjoh deleted the fix/router-url-handling-improvements branch 98 days ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 84 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone