1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-07-11 12:22:21 -03:00
parent bf6d52486e
commit 3e2f73c397

View file

@ -132,7 +132,7 @@ foreach ($scanVars as $value) {
foreach ($securityFilter as $value) { foreach ($securityFilter as $value) {
if (!empty($scanThis[$value])) { if (!empty($scanThis[$value])) {
$scanThis[$value] = str_ireplace(['\\', "--", "'", '"', """, "'", "%23", "%5c", "#", "`"], ['', '', '', '', '', '', '', '', '', ''], xss_esc($scanThis[$value])); $scanThis[$value] = str_ireplace(['\\', "'", '"', """, "'", "%23", "%5c", "#", "`"], ['', '', '', '', '', '', '', '', ''], xss_esc($scanThis[$value]));
} }
} }