Changeset 649
- Timestamp:
- 10/04/2007 03:45:11 PM (14 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Input.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Input.php
r648 r649 91 91 } 92 92 93 // Is $_GET data allowed? If not we'll set the $_GET to an empty array93 // Clean $_GET data 94 94 if (is_array($_GET) AND count($_GET) > 0) 95 95 { … … 100 100 } 101 101 102 // Clean $_POST Data102 // Clean $_POST data 103 103 if (is_array($_POST) AND count($_POST) > 0) 104 104 { … … 109 109 } 110 110 111 // Clean $_COOKIE Data111 // Clean $_COOKIE data 112 112 if (is_array($_COOKIE) AND count($_COOKIE) > 0) 113 113 { … … 172 172 if ( ! preg_match('#^[a-z0-9:_/-]+$#iD', $str)) 173 173 { 174 exit('Disallowed Key Characters.');174 exit('Disallowed key characters in global data.'); 175 175 } 176 176
