Details
-
Task
-
Resolution: Unresolved
-
Minor
-
PE Milestone 10 (It's Getting Tense)
-
None
Description
In Registry 4.x we adopted the use of filter_var() for output escaping. In PE, we will instead use the much less verbose h() CakePHP convenience function.
The PHP Sanitize filters page notes:
"FILTER_SANITIZE_STRING ... (Deprecated as of PHP 8.1.0, use htmlspecialchars() instead.)" (See: https://www.php.net/manual/en/filter.filters.sanitize.php)
h() is a shorthand for htmlspecialchars().
Attachments
Issue Links
- is related to
-
CO-667 Remove References to Sanitize Class
-
- Resolved
-