From 18ecb4be1bc254b40f94d1273cd7e3eb4a685b92 Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Mon, 27 Oct 2025 19:28:24 +0200 Subject: [PATCH] Bug 38365: Add content_security_policy section to koha-conf.xml To test: 1. xmllint --noout --nonet etc/koha-conf.xml; echo $? 2. Observe 0 --- etc/koha-conf.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/etc/koha-conf.xml b/etc/koha-conf.xml index cd584872134..b200810b925 100644 --- a/etc/koha-conf.xml +++ b/etc/koha-conf.xml @@ -308,5 +308,20 @@ 1 + + + + + + default-src 'self'; script-src 'self' 'unsafe-eval' _CSP_NONCE_; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; object-src 'none' + + + + + + + default-src 'self'; script-src 'self' 'unsafe-eval' _CSP_NONCE_; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; object-src 'none' + + -- 2.34.1