diff options
Diffstat (limited to 'kohana/libraries/Input.php')
-rw-r--r-- | kohana/libraries/Input.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kohana/libraries/Input.php b/kohana/libraries/Input.php index c5289840..a0004621 100644 --- a/kohana/libraries/Input.php +++ b/kohana/libraries/Input.php @@ -130,9 +130,9 @@ class Input_Core { foreach ($_COOKIE as $key => $val) { // Ignore special attributes in RFC2109 compliant cookies - if ($key == '$Version' || $key == '$Path' || $key == '$Domain') { + if ($key == '$Version' OR $key == '$Path' OR $key == '$Domain') continue; - } + // Sanitize $_COOKIE $_COOKIE[$this->clean_input_keys($key)] = $this->clean_input_data($val); } |