diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-09-26 17:59:28 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-09-26 17:59:28 +0200 |
commit | af03e056ce1a479dc9f1d6b0a88a6bcb06a31d3c (patch) | |
tree | c2d336b813cd466beb6b481cde0a7d5004a6d6c8 /system/libraries | |
parent | e07ba013ad4ee70ff26ce6ee081cc0d5396a7e03 (diff) |
fixed decode()'s validation of the string...
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Encrypt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index 656d51b4a..035ce8f68 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -141,7 +141,7 @@ class CI_Encrypt { {
$key = $this->get_key($key);
- if ( ! preg_match('/[a-zA-Z0-9\/\+=]/', $string))
+ if (preg_match('/[^a-zA-Z0-9\/\+=]/', $string))
{
return FALSE;
}
|