From cd59e97b0f05dd5a51d1737a62aa53ef7f1030f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Thu, 12 Jun 2008 16:42:26 +0000
Subject: [PATCH] Last parameter of setcookie was not safe pre 5.2 (added in
 5.2)

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@650 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/SessionHandlerCookie.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/SessionHandlerCookie.php b/lib/SimpleSAML/SessionHandlerCookie.php
index 9450aab37..06cd8a188 100644
--- a/lib/SimpleSAML/SessionHandlerCookie.php
+++ b/lib/SimpleSAML/SessionHandlerCookie.php
@@ -45,7 +45,7 @@ extends SimpleSAML_SessionHandler {
 		/* We don't have a valid session. Create a new session id. */
 		$this->session_id = self::createSessionID();
 		setcookie('SimpleSAMLSessionID', $this->session_id, 0, '/',
-			NULL, self::secureCookie(), TRUE);
+			NULL, self::secureCookie());
 	}
 
 
-- 
GitLab