ExpressionEngine-User-Guide icon indicating copy to clipboard operation
ExpressionEngine-User-Guide copied to clipboard

ee()->security->xss_clean($str) still mentioned even though deprecated

Open jcogs-design opened this issue 1 year ago • 0 comments

Description of the problem EE Developer logs dutifully reports things like ...

Deprecated function xss_clean() called in
/home/catnet/system/user/addons/cat_world_domination/pi.cat_world_domination.php
on line 48.

From template tag
exp:cat_world_domination:__construct
in [malicious/rumours](https://do.lolwot.com/wp-content/uploads/2015/06/20-of-the-most-evil-cats-youll-ever-see-1.jpg).

Deprecated since 3.0. Use ee('Security/XSS')->clean() instead.

However EE Documentation makes no such notification in the documentation for xss_clean()

jcogs-design avatar Jan 21 '25 14:01 jcogs-design