Changeset 672

Show
Ignore:
Timestamp:
10/05/2007 02:04:37 PM (14 months ago)
Author:
Geert
Message:

Making _clean_input_keys() utf-8 compatible

Files:
1 modified

Legend:

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

    r670 r672  
    173173        private function _clean_input_keys($str) 
    174174        { 
    175                 if ( ! preg_match('#^[a-z0-9:_/-]+$#iD', $str)) 
     175                if ( ! preg_match('#^[\pL0-9:_/-]+$#uiD', $str)) 
    176176                { 
    177177                        exit('Disallowed key characters in global data.');