Skip to content

fix: Update CSP API calls for Nextcloud 31+ compatibility#265

Merged
miaulalala merged 1 commit intomainfrom
fix/csp-allow-eval-script
Apr 16, 2026
Merged

fix: Update CSP API calls for Nextcloud 31+ compatibility#265
miaulalala merged 1 commit intomainfrom
fix/csp-allow-eval-script

Conversation

@miaulalala
Copy link
Copy Markdown
Collaborator

Replace removed allowEvalScript() with addAllowedScriptDomain() and use $_['cspNonce'] instead of removed getContentSecurityPolicyNonceManager().

AI-Assisted-By: Claude Opus 4.6 noreply@anthropic.com

Replace removed allowEvalScript() with addAllowedScriptDomain() and
use $_['cspNonce'] instead of removed getContentSecurityPolicyNonceManager().

AI-Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala self-assigned this Apr 16, 2026
@miaulalala miaulalala added the bug Something isn't working label Apr 16, 2026
@miaulalala miaulalala merged commit 6e9ff3a into main Apr 16, 2026
7 checks passed
@miaulalala miaulalala deleted the fix/csp-allow-eval-script branch April 16, 2026 20:55
@miaulalala miaulalala changed the title fix: Update CSP API calls for Nextcloud 31 compatibility fix: Update CSP API calls for Nextcloud 31+ compatibility Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants