-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
Description
Describe the bug
I've noticed that requests with a query parameter like ?input=%7B%22search%22%3A%22Blake+%26+Mortimer%22%7D would randomly fail, it seems that OpenNext might not be accounting for the URL already having decoded query parameters?
Steps to reproduce
- Clone this repository: https://github.com/mary-ext/repro-opennext-cloudflare-qs
- Run
pnpm dev, click on test query - Run
pnpm preview, click on test query
Expected behavior
Queries shouldn't throw an error
@opennextjs/cloudflare version
1.16.5
Wrangler version
4.67.0
next info output
Using vars defined in .dev.vars
/bin/sh: line 1: yarn: command not found
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Mon, 16 Feb 2026 18:22:29 +0000
Available memory (MB): 31160
Available CPU cores: 16
Binaries:
Node: 22.22.0
npm: 10.9.4
Yarn: N/A
pnpm: 10.30.0
Relevant Packages:
next: 16.1.6 // Latest available version is detected (16.1.6).
eslint-config-next: N/A
react: 19.2.4
react-dom: 19.2.4
typescript: 5.9.3
Next.js Config:
output: N/A
(next info seems to hang)Additional context
No response
Reactions are currently unavailable