我遇到了CI禁止密钥字符的问题。当我改变的核心文件input.php
不允许的密钥字符
exit('Disallowed Key Characters!! Clear Your Cookies.'.$str);
我得到这个字符串
Disallowed Key Characters!!.qqfilechunk|attraction-Pulaki-temple-not-far-from-Jimbaran-seminyak-kuta-leagian-nusa-dua-and-sanur-close-to-cheap-hotels-cheap-flight-with-air-asia-4-can-be-great-experience-to-come-to-bali-and-enj-_jpg|101077|2000000
我已经改变了pregmatch
到
preg_match("/^[#a-z0-9:_\/-|{}()%!=]+$/i", $str)
但我仍然得到Disallowed Key Character
消息。
您更改了哪一行? –
为什么你改变核心文件?,解释你的需要。 –
@ReNiShAR在函数_clean_input_keys($ str)在文件input.php – adeade