Skip to content

fix(csp): allow data: in connect-src for embedded glTF buffer fetches - #54

Merged
Bissbert merged 1 commit into
mainfrom
fix/csp-data-connect
Jul 15, 2026
Merged

fix(csp): allow data: in connect-src for embedded glTF buffer fetches#54
Bissbert merged 1 commit into
mainfrom
fix/csp-data-connect

Conversation

@Bissbert

Copy link
Copy Markdown
Contributor

The homepage hero's three.js GLTFLoader fetches embedded data: URI buffers, which connect-src blocked — producing 2 console errors + a CSP violation on every homepage load (theme-independent, pre-existing; surfaced during dark-mode production verification). data: in connect-src is low-risk as it provides no exfiltration channel.

🤖 Generated with Claude Code

The hero crystal 3D model loads a glTF whose buffers are embedded as
data: URIs; three.js fetches them, which the connect-src directive
blocked, producing console errors on every homepage load. data: in
connect-src is low-risk (no exfiltration channel).
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed to: https://d9bf493b.gemmology-dev.pages.dev

@Bissbert
Bissbert merged commit 4305542 into main Jul 15, 2026
5 of 6 checks passed
@Bissbert
Bissbert deleted the fix/csp-data-connect branch July 15, 2026 19:45
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.

1 participant