Skip to content

security(headers): add HSTS to match the fleet baseline - #7

Merged
manderwall merged 1 commit into
mainfrom
claude/adoring-ptolemy-4KZZh
Jul 19, 2026
Merged

security(headers): add HSTS to match the fleet baseline#7
manderwall merged 1 commit into
mainfrom
claude/adoring-ptolemy-4KZZh

Conversation

@manderwall

Copy link
Copy Markdown
Owner

Why

Part of a fleet-wide security-headers standardization pass. aplusstudyapp was the only Cloudflare-Pages sibling missing Strict-Transport-Security — all eight other companion apps (pro-se-federal, threshold, court-steps, foia, healthcare-admin, ai-disclosure, cognitive-load, wcag-tracker) already carry the identical line.

What

Adds to _headers:

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Cloudflare Pages already serves HTTPS-only, so this is pure downgrade-protection hardening — no functional change, no CSP change, nothing user-visible. The existing (already strong) CSP and other headers are untouched.

🤖 Generated with Claude Code

https://claude.ai/code/session_011CR5oMcpxdjeJr7u6mnDdC


Generated by Claude Code

aplusstudyapp was the only Cloudflare-Pages sibling missing
Strict-Transport-Security; the other eight companion apps
(pro-se-federal, threshold, court-steps, foia, healthcare-admin,
ai-disclosure, cognitive-load, wcag-tracker) all carry the identical
'max-age=31536000; includeSubDomains; preload' line. Pages already
serves HTTPS-only, so this only hardens against downgrade — no
functional change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011CR5oMcpxdjeJr7u6mnDdC
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying aplusstudyapp with  Cloudflare Pages  Cloudflare Pages

Latest commit: b160a54
Status: ✅  Deploy successful!
Preview URL: https://795c72bd.aplusstudyapp.pages.dev
Branch Preview URL: https://claude-adoring-ptolemy-4kzzh.aplusstudyapp.pages.dev

View logs

@manderwall
manderwall merged commit bbbae6f into main Jul 19, 2026
3 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