Cloudflare CAPTCHA on at least one ampersand
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Site operators can now gate Cloudflare CAPTCHAs only on complex URLs, stopping simple searches from triggering challenges.
Simon Willison runs a website with a faceted search engine, a system that lets visitors filter results across many categories. Cloudflare's anti-bot test (a CAPTCHA, which Cloudflare calls a 'Managed Challenge') was blocking crawlers but also annoying real people. He configured it so the test only appears on search URLs containing an ampersand, so a plain query like /search/?q=lemur works without a CAPTCHA.
Willison, owner of simonwillison.net, was using a Cloudflare 'Managed Challenge' to stop crawlers hammering every combination of his faceted search UI, but simple one-term searches were triggering the challenge too. A new custom rule, challenge only URLs whose query string contains '&', restores frictionless access for legitimate users while keeping bot protection on combinatorial URLs. Sites with faceted or parametric search can copy this pattern.
Cloudflare WAF custom rules now support a 'Managed Challenge' scoped by expression. Willison's rule: (http.request.uri.path wildcard r"/search/*" and http.request.uri.query contains "&"), challenges only faceted search requests (multiple parameters) while letting single-parameter queries like /search/?q=lemur through. He reports Claude Code could not edit the rules via the Cloudflare MCP and fell back to the Cloudflare API directly.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Cloudflare simonwillison.net Claude Code Cloudflare MCP Datasette
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.