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