Skip to content

Security headers: the policy no longer allows Cloudflare's beacon - #168

Merged
pixari merged 1 commit into
mainfrom
claude/sweet-turing-0ykekv
Nov 24, 2026
Merged

pixari merged 1 commit into
mainfrom
claude/sweet-turing-0ykekv

Conversation

@pixari

@pixari pixari commented Nov 24, 2026

Copy link
Copy Markdown
Member

The maintainer turned Web Analytics off in Cloudflare, so the edge no longer adds its beacon to pages (checked on six live pages, twice: no script tag, no request).

This removes the two origins #161 had allowed (static.cloudflareinsights.com, cloudflareinsights.com). The Content-Security-Policy now allows scripts and connections from the site and the self-hosted analytics only, as the site's rule says. The unit test again holds the policy equal to the script check's allow-list, and the "Security headers" requirement in openspec/specs/website-platform drops its mention of the CDN's beacon.

Verified: npm test (118 pass).


Generated by Claude Code

Web Analytics is turned off in Cloudflare, so no page carries its beacon any
more (checked on the live site). The Content-Security-Policy allows scripts and
connections from the site and the self-hosted analytics only, as the site's
rule says, and the unit test again holds it equal to the script allow-list.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0187cnkVKwRYfbFPY3nTZj8k
@github-actions

Copy link
Copy Markdown
Contributor

Preview: download the built site for d7b8593, unzip it and run npx serve in the folder (kept for 14 days).

@pixari
pixari marked this pull request as ready for review November 24, 2026 10:51
@pixari
pixari merged commit ea2b2f3 into main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants