1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Input filter fixes.

This commit is contained in:
Cameron
2016-08-19 16:13:38 -07:00
parent eac663e889
commit 17382b25ac
3 changed files with 30 additions and 11 deletions

View File

@@ -147,7 +147,7 @@ class e_session
'path' => '',
'domain' => '',
'secure' => false,
'httponly' => false,
'httponly' => true,
);
/**
@@ -197,7 +197,8 @@ class e_session
);
$options = array(
'httponly' => (e_SECURITY_LEVEL >= self::SECURITY_LEVEL_PARANOID),
// 'httponly' => (e_SECURITY_LEVEL >= self::SECURITY_LEVEL_PARANOID),
'httponly' => true,
);
if(!defined('E107_INSTALL'))
@@ -226,7 +227,7 @@ class e_session
$this->setConfig($config)
->setOptions($options);
}
return $this;
}