Kohana and Codeigniter both have encode_php_tags(). I understand XSS cleaning (for Javascript), but when and why would you use encode_php_tags()? What is the security threat?
Kohana and Codeigniter both have encode_php_tags() . I understand XSS cleaning (for Javascript), but
Share
A smart fellow on the #kohana forum suggested that it is there because Expression Engine uses eval() for templates. If someone were to embed PHP in a string it is possible it would be eval()’d and executed. Since Kohana does not use eval() for templates it is possible that it is just left over from Codeigniter days.