Skip to content

Commit

Permalink
exclude password fields from being filtered/escaped by AntiXSS, fixes #…
Browse files Browse the repository at this point in the history
…1150

Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Jun 8, 2023
1 parent 826ae36 commit ed72fd1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/Froxlor/PhpHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,15 @@ public static function cleanGlobal(array &$global, AntiXSS &$antiXss)
'ssl_specialsettings',
'default_vhostconf_domain',
'ssl_default_vhostconf_domain',
'filecontent'
'filecontent',
'admin_password',
'password',
'new_customer_password',
'privileged_password',
'email_password',
'directory_password',
'ftp_password',
'mysql_password',
];
if (!empty($global)) {
$tmp = $global;
Expand Down

0 comments on commit ed72fd1

Please sign in to comment.