Open steve-marmalade opened 1 month ago
Bizarre, the deployment I linked suddenly stopped reproducing the issue. I can't explain why it's not consistent, but here are the request logs showing it did have this error:
Let me know if there's any other debugging info that I can provide
@wyattjoh , @ztanner - would you be able to give this one a look? I just updated to the latest next canary and am still seeing this on https://ppr-double-encode.vercel.app/hello%20world
/app/[slug]/page.tsx
export default async function SlugPage(props: { params: Promise<{ slug: string }> }) {
const { slug } = await props.params;
console.log({ slug });
return (
<p>{slug}</p>
)
}
Link to the code that reproduces this issue
https://github.com/marmalade-labs/ppr-double-encode
To Reproduce
(note: this bug only shows when deployed to Vercel, not when running locally).
Current vs. Expected behavior
I expected
hello%20world
to be displayed but instead we seehello%2520world
. When running locally or with PPR disabled, it works as expected.Provide environment information
Which area(s) are affected? (Select all that apply)
Partial Prerendering (PPR)
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed)
Additional context
@wyattjoh, @ztanner - thought you might find this one interesting !