is it okay to “repeatedly” xss-clean data in CodeIgniter?
问题 The following are ways to XSS-clean data in Codeigniter: set global_xss_filtering in config to TRUE use xss_clean() use xss_clean as a validation rule set the second parameter to TRUE in $this->input->post('something', TRUE) Is it okay to use all or more than one of them on one piece of data? For example, would it be okay if I still used $this->input->post('something', TRUE) even if the data has already been cleaned by global_xss_filtering and xss_clean validation rule? 回答1: It's not going to