Codeigniter中允许的uri字符的安全问题 [英] Security concerns with permitted uri characters in Codeigniter
本文介绍了Codeigniter中允许的uri字符的安全问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不得不将$ config ['permitted_uri_chars']更改为以下内容:-
I've had to change the $config['permitted_uri_chars'] to the following :-
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-\?=';
添加?的安全含义是什么?
What are the security implications of adding the ? and = characters to this?
推荐答案
如果您使用的是 $ this-> input-> post()
然后,即使有人在url中传递了一个参数也没有关系。
if you are using $this->input->post()
then even if somebody passes a parameter in the url its not going to matter.
这篇关于Codeigniter中允许的uri字符的安全问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文