Skip to content

fix(csp): replace non-existent addAllowedChildSrcDomain with addAllow…#17716

Merged
nickvergessen merged 1 commit intomainfrom
fix/noid/csp-issue
Apr 14, 2026
Merged

fix(csp): replace non-existent addAllowedChildSrcDomain with addAllow…#17716
nickvergessen merged 1 commit intomainfrom
fix/noid/csp-issue

Conversation

@miaulalala
Copy link
Copy Markdown
Contributor

…edFrameDomain

addAllowedChildSrcDomain was never part of the server's public CSP API. Replace with addAllowedFrameDomain, which together with the existing addAllowedWorkerSrcDomain covers the same scope as child-src.

🛠️ API Checklist

🚧 Tasks

  • ...

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@miaulalala miaulalala added this to the 🏖️ Next Major (34) milestone Apr 14, 2026
@miaulalala miaulalala self-assigned this Apr 14, 2026
@miaulalala miaulalala added the bug label Apr 14, 2026
@nickvergessen
Copy link
Copy Markdown
Member

addAllowedChildSrcDomain was never part of the server's public CSP API.

@nickvergessen
Copy link
Copy Markdown
Member

More in apps/spreed/lib/Controller/PageController.php it seems

…meDomain

addAllowedChildSrcDomain was removed from the server in
nextcloud/server#59544. Replace with addAllowedFrameDomain which,
together with the existing addAllowedWorkerSrcDomain, covers the
same scope as child-src.

AI-Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@nickvergessen nickvergessen merged commit d31a97c into main Apr 14, 2026
79 checks passed
@nickvergessen nickvergessen deleted the fix/noid/csp-issue branch April 14, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants