Skip to content
Snippets Groups Projects
Commit cd59e97b authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

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
parent 98300831
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment