mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
legacy_html_escape_form_data() add ENT_QUOTES to avoid certain escaping issues
This commit is contained in:
parent
30931e5d6d
commit
b24e7acf3f
@ -76,7 +76,7 @@ function legacy_html_escape_form_data(&$settings)
|
||||
if (is_array($dataValue)) {
|
||||
legacy_html_escape_form_data($dataValue);
|
||||
} else {
|
||||
$settings[$dataKey] = htmlspecialchars($dataValue);
|
||||
$settings[$dataKey] = htmlspecialchars($dataValue, ENT_QUOTES);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user