Skip to content

fix(webui): docs dialog blocked by CSP frame-src - #228

Merged
lukasMega merged 1 commit into
mainfrom
fix/docs-dialog-csp
Oct 11, 2026
Merged

lukasMega merged 1 commit into
mainfrom
fix/docs-dialog-csp

Conversation

@lukasMega

Copy link
Copy Markdown
Owner

The docs dialog frames /go/docs, which redirects to the docs site. CSP checks each redirect hop and frame-src lacked the docs origin, so the docs never loaded (regression from #227). Adds the origin (from DOCS_BASE) plus a CSP test.

Also: docs pages shown in the dialog now open localhost:3000 links in a new tab, because the WebUI sets frame-ancestors 'none'.

The docs dialog frames /go/docs, which 302s to the docs site; frame-src only allowed 'self' and streamdeck:, so the redirect was blocked. Add the docs origin. Docs pages framed in the dialog now open localhost links in a new tab (WebUI forbids framing).
@lukasMega
lukasMega merged commit 41c6bc1 into main Oct 11, 2026
14 checks passed
@lukasMega
lukasMega deleted the fix/docs-dialog-csp branch October 11, 2026 20:36
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