ltb-project / service-desk

Application for support team who need to check and reset user passwords
https://service-desk.readthedocs.io/
GNU General Public License v3.0
49 stars 20 forks source link

Constant FILTER_SANITIZE_STRING is deprecated #106

Closed cmaudoux closed 8 months ago

cmaudoux commented 11 months ago

Hi everyone,

I upgraded to SD 0.5.1 and a warning about a deprecated feature is is now displayed

image

Cheers

coudot commented 11 months ago

Hello @cmaudoux you can test the patch proposed in #107

That said, in production we generally don't display errors on the website and ignore the deprecated warning messages. Set this in php.ini:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off

You will still be able to see errors messages in logs.

cmaudoux commented 9 months ago

Hi @coudot

It is OK for me . Thx !