From 1f624bc5e2fc720b7f570b4b217860747ef5dc65 Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Tue, 1 Apr 2025 12:23:56 +0200 Subject: Referrer-Policy: same-origin (#6303) * Referrer-Policy: same-origin * same-origin for our own images --------- Co-authored-by: Alexandre Alapetite --- app/install.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/install.php') diff --git a/app/install.php b/app/install.php index 781924890..c2fd86370 100644 --- a/app/install.php +++ b/app/install.php @@ -5,6 +5,7 @@ if (function_exists('opcache_reset')) { opcache_reset(); } header("Content-Security-Policy: default-src 'self'"); +header('Referrer-Policy: same-origin'); require(LIB_PATH . '/lib_install.php'); -- cgit v1.2.3