son-dh / mudim

Automatically exported from code.google.com/p/mudim
0 stars 0 forks source link

Bị lỗi khi chèn vào website dùng codeigniter #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
E thử chèn mudim.js vào trang phát triển bằng codeigniter, khi chạy 
thấy báo lỗi Disallowed Key Characters.|mudim-settings. E chưa hiểu 
lỗi ở đâu và cách khắc phục ra sao, mong a chỉ giúp.
Đây là hàm trong input của Lib CodeIgniter
function _clean_input_keys($str)
    {
        if ( ! preg_match("/^[a-z0-9:_\/-]+$/i", $str))
        {
            exit('Disallowed Key Characters.'.$str);
        }

        return $str;
    }

Original issue reported on code.google.com by i...@thitruong37.com on 31 Dec 2011 at 10:13