- Issue created by @gaurav_manerkar
- 🇮🇳India sourav_paul Kolkata
You can replace it with "FILTER_SANITIZE_FULL_SPECIAL_CHARS" or "FILTER_UNSAFE_RAW"
- Merge request !36Issue #3473780: The constant "FILTER_SANITIZE_STRING" is deprecated since PHP 8.1 → (Open) created by sourav_paul
- Status changed to Needs review
3 months ago 11:49am 12 September 2024 - Status changed to Needs work
3 months ago 2:54pm 12 September 2024 - 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa
Hi Sourav,
It looks like you updated wrong constant.
The error is reported at https://git.drupalcode.org/project/tmgmt_xtm/-/blob/8.x-6.5/src/Controll... - 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa
I see this issue was addressed in latest commit on dev branch.
https://git.drupalcode.org/project/tmgmt_xtm/-/commit/3fd39df87ac15a3b35...But i see the developer removed
filter_var
instead of replacing it withhtmlspecialchars
.Any thoughts ?
- Status changed to Needs review
3 months ago 11:25am 18 September 2024 - 🇮🇳India sourav_paul Kolkata
This filter string constant is already been removed from the 8.x-6.x branch, but there is no release with this fix,
hence you facing this issue with the module version 8.x-6.5.Attaching the patch in it.
For now, you can use this as a patch for the module version 6.5.