From b948f4053c6f97db87cf3320f22fd1c91ee9950a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Wed, 21 Sep 2022 16:00:35 +0200 Subject: [PATCH] Remove additional space in Cookie header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- scripts/pi-hole/php/func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/func.php b/scripts/pi-hole/php/func.php index 712e588a..ea2f60a7 100644 --- a/scripts/pi-hole/php/func.php +++ b/scripts/pi-hole/php/func.php @@ -671,5 +671,5 @@ function start_php_session() // protection against cross-site request forgery attacks. // Direct support of Samesite has been added to PHP only in version 7.3 // We manually set the cookie option ourselves to ensure backwards compatibility - header('Set-Cookie: PHPSESSID= '.session_id().'; path=/; HttpOnly; SameSite=Strict'); + header('Set-Cookie: PHPSESSID='.session_id().'; path=/; HttpOnly; SameSite=Strict'); }