2cf1d1c191
This makes sure we have the correct `asPath` value to prevent breaking hydration for `getServerSideProps` pages and doesn't re-use the `resolvedUrl` value for the `asPath` and instead creates a separate `resolvedAsPath` value that only removes the `_next/data` prefix from the path. Additional tests have been added in the `getServerSideProps` suite to ensure correct `asPath` with rewrites. Fixes: https://github.com/vercel/next.js/issues/17113 |
||
---|---|---|
.. | ||
babel | ||
output | ||
plugins | ||
polyfills | ||
profiler | ||
webpack | ||
compiler.ts | ||
entries.ts | ||
generate-build-id.ts | ||
index.ts | ||
is-writeable.ts | ||
spinner.ts | ||
utils.ts | ||
webpack-config.ts | ||
write-build-id.ts |