aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Inverle <inverle@proton.me> 2025-06-18 22:20:17 +0200
committerGravatar GitHub <noreply@github.com> 2025-06-18 22:20:17 +0200
commita6948218fb1c66fe146c7651555e5a1f791c8112 (patch)
treea878349b1d2808d2ed7318aa34df0546e534690e /app/install.php
parentaa45bcbe5a0a723c4b6adfb50139be0be6336d2b (diff)
frame-ancestors CSP (#7677)
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/install.php b/app/install.php
index 3d835d1f1..0e408db52 100644
--- a/app/install.php
+++ b/app/install.php
@@ -4,7 +4,7 @@ declare(strict_types=1);
if (function_exists('opcache_reset')) {
opcache_reset();
}
-header("Content-Security-Policy: default-src 'self'");
+header("Content-Security-Policy: default-src 'self'; frame-ancestors 'none'");
header('Referrer-Policy: same-origin');
require(LIB_PATH . '/lib_install.php');