I'm facing some issue when using middleware in `/functions`. Can someone help?
I am using middleware in
/functions
to secure some pages. But when the url has double slashes //
, wrangler doesn't run the middleware for the url.
I have replicated the issue in a minimal repo here – https://github.com/Shivam010/cloudflare-double-slashes-issue
I have also asked help on wrangler-sdk repo https://github.com/cloudflare/workers-sdk/issues/3677 but it feels like they are overburdened with other issues.
Can somebody help me here!GitHub
GitHub - Shivam010/cloudflare-double-slashes-issue
Contribute to Shivam010/cloudflare-double-slashes-issue development by creating an account on GitHub.
GitHub
🐛 BUG: In some cases, urls with double slashes don't invoke Pages F...
Which Cloudflare product(s) does this pertain to? Pages What version(s) of the tool(s) are you using? latest What version of Node are you using? 20.1.0 What operating system are you using? Mac Desc...
1 Reply
Can anyone help ?