Cloudflare is redirecting /@foo to /%40foo

I'm using the vite plugin with a SPA. It works in development, but after deploying to production, Cloudflare returns a 307 redirect. Does anybody know what component is doing this rewriting and how to disable it? As far as I can tell, @ is a valid character in a URL.
1 Reply
kixelated
kixelatedOP3w ago
example: https://hang.now/@cozy-meet-866 and note that this is a fully static worker I thiiiink I fixed it with _redirects: /@* / 200

Did you find this page helpful?