Hello, I'm testing a Nextjs site with Cloudflare Pages Functions that relies on querystring params,
Hello, I'm testing a Nextjs site with Cloudflare Pages Functions that relies on querystring params, but I've hit a snag.
It appears that Cloudflare Pages Functions doesn't support multiple of the same query param (e.g.
Is this a known issue or is there a way to get this to work properly? Seems like a pretty big deal to truncate query string values in this unexpected way.
It appears that Cloudflare Pages Functions doesn't support multiple of the same query param (e.g.
a=1&a=2&a=3 only keeps a=3) which defies how most servers work, and how URLSearchParams itself behaves. No part of the request context preserves the full query string by the time it gets to getServerSideProps. Note: we tested this directly on Vercel with their implementation of edge functions and it all works correctly, but for other reasons that's not a viable alternative for us right now.Is this a known issue or is there a way to get this to work properly? Seems like a pretty big deal to truncate query string values in this unexpected way.


