mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 02:39:25 +01:00
Remove additional space in Cookie header
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user