Hoist app page request URL into render context (#99269)
## Summary Pass the final app-page request URL explicitly from the Node, Edge, and build export entry points into rendering. This keeps URL parsing and the deterministic prerender request ID tied to the exact URL observed on the request after existing normalization. Development ISR status bookkeeping uses the forwarded URL with its existing URL parsing behavior. A path-scoped lint guard prevents new direct `req.url` reads in app-render. ## Verification - `pnpm --filter=next types` - `pnpm --filter=next build` - Confirmed `rg -n '\breq\.url\b' packages/next/src/server/app-render` has no matches. - ESLint stdin probes reject `req.url` under app-render with the `requestUrl` guidance and allow the same access outside app-render. - Not run: integration tests (the worktree lacks per-package dependencies, so the full bootstrap build could not complete). <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment