Changeset 649

Show
Ignore:
Timestamp:
10/04/2007 03:45:11 PM (14 months ago)
Author:
Shadowhand
Message:

More spit shine.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Input.php

    r648 r649  
    9191                } 
    9292 
    93                 // Is $_GET data allowed? If not we'll set the $_GET to an empty array 
     93                // Clean $_GET data 
    9494                if (is_array($_GET) AND count($_GET) > 0) 
    9595                { 
     
    100100                } 
    101101 
    102                 // Clean $_POST Data 
     102                // Clean $_POST data 
    103103                if (is_array($_POST) AND count($_POST) > 0) 
    104104                { 
     
    109109                } 
    110110 
    111                 // Clean $_COOKIE Data 
     111                // Clean $_COOKIE data 
    112112                if (is_array($_COOKIE) AND count($_COOKIE) > 0) 
    113113                { 
     
    172172                if ( ! preg_match('#^[a-z0-9:_/-]+$#iD', $str)) 
    173173                { 
    174                         exit('Disallowed Key Characters.'); 
     174                        exit('Disallowed key characters in global data.'); 
    175175                } 
    176176