Remove additional space in Cookie header (#2370)

This commit is contained in:
DL6ER
2022-09-21 20:32:22 +02:00
committed by GitHub
+1 -1
View File
@@ -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');
}