|
@@ 64-66 (lines=3) @@
|
| 61 |
|
|
| 62 |
|
session_set_cookie_params(0, $OSCOM_Cookies->getPath(), $OSCOM_Cookies->getDomain(), (bool)ini_get('session.cookie_secure'), (bool)ini_get('session.cookie_httponly')); |
| 63 |
|
|
| 64 |
|
if (isset($_GET[$this->name]) && ($this->force_cookies || !(bool)preg_match('/^[a-zA-Z0-9,-]+$/', $_GET[$this->name]) || !$this->exists($_GET[$this->name]))) { |
| 65 |
|
unset($_GET[$this->name]); |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
if (isset($_POST[$this->name]) && ($this->force_cookies || !(bool)preg_match('/^[a-zA-Z0-9,-]+$/', $_POST[$this->name]) || !$this->exists($_POST[$this->name]))) { |
| 69 |
|
unset($_POST[$this->name]); |
|
@@ 68-70 (lines=3) @@
|
| 65 |
|
unset($_GET[$this->name]); |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
if (isset($_POST[$this->name]) && ($this->force_cookies || !(bool)preg_match('/^[a-zA-Z0-9,-]+$/', $_POST[$this->name]) || !$this->exists($_POST[$this->name]))) { |
| 69 |
|
unset($_POST[$this->name]); |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
if (isset($_COOKIE[$this->name]) && (!(bool)preg_match('/^[a-zA-Z0-9,-]+$/', $_COOKIE[$this->name]) || !$this->exists($_COOKIE[$this->name]))) { |
| 73 |
|
$OSCOM_Cookies->del($this->name, $OSCOM_Cookies->getPath(), $OSCOM_Cookies->getDomain(), (bool)ini_get('session.cookie_secure'), (bool)ini_get('session.cookie_httponly')); |