Skip to content

[v7] Improve path generation and navigation URL validation - #15787

Merged
brophdawg11 merged 1 commit into
v7from
brophdawg11/codex-v7-navigation-path-handling
Nov 18, 2026
Merged

brophdawg11 merged 1 commit into
v7from
brophdawg11/codex-v7-navigation-path-handling

Conversation

@brophdawg11

Copy link
Copy Markdown
Contributor

Normalize generated path prefixes and apply consistent URL validation to links, form actions, fetcher requests, and redirects in v7. Preserve explicitly specified external destinations and existing href() and generatePath() interpolation, including percent escapes, query strings, and fragments, wherever they do not affect how the destination is interpreted.

The shared runtime changes apply across Declarative, Data, Framework, RSC Data, and RSC Framework modes.

Authored by an AI agent on behalf of @brophdawg11

@github-actions

Copy link
Copy Markdown
Contributor

Preview Build Available

Preview builds have been created for this PR. You can install react-router using:

pnpm install "remix-run/react-router#preview/pr-15787&path:packages/react-router"

And/or install other packages via:

pnpm install "remix-run/react-router#preview/pr-15787&path:packages/react-router-dev"
pnpm install "remix-run/react-router#preview/pr-15787&path:packages/react-router-express"
pnpm install "remix-run/react-router#preview/pr-15787&path:packages/react-router-node"
pnpm install "remix-run/react-router#preview/pr-15787&path:packages/react-router-serve"

These preview builds will be updated automatically as you push new commits.

@brophdawg11
brophdawg11 marked this pull request as ready for review November 18, 2026 14:29
@brophdawg11
brophdawg11 merged commit f7a965d into v7 Nov 18, 2026
19 checks passed
@brophdawg11
brophdawg11 deleted the brophdawg11/codex-v7-navigation-path-handling branch November 18, 2026 14:34
@remix-run-bot remix-run-bot mentioned this pull request Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant