dimayakovlev / getsimple-cms-extended

GetSimple CMS Extended
https://github.com/dimayakovlev/getsimple-cms-extended
GNU General Public License v3.0
1 stars 0 forks source link

Constant FILTER_SANITIZE_STRING is deprecated #88

Open dimayakovlev opened 1 day ago

dimayakovlev commented 1 day ago

This sanitize filter is used in function var_out(). But it deprecated as of PHP 8.1.0 and recommended to use htmlspecialchars() instead. See: https://www.php.net/manual/en/filter.filters.sanitize.php

Part of #83.

dimayakovlev commented 1 day ago

See: https://www.php.net/manual/en/filter.filters.sanitize.php#129098