mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix double escaping for HTML entities in error messages
This commit is contained in:
@@ -261,7 +261,8 @@ $tmp =~ s/\"/"/g;
|
||||
$tmp =~ s/\'/'/g;
|
||||
$tmp =~ s/=/=/g;
|
||||
# Never double escape following common entities
|
||||
$tmp =~ s/ / /g;
|
||||
$tmp =~ s/&#(\d+);/&#$1;/g;
|
||||
$tmp =~ s/&#x(\d+);/&#x$1;/g;
|
||||
$tmp =~ s/ / /g;
|
||||
$tmp =~ s/&lt;/</g;
|
||||
$tmp =~ s/&gt;/>/g;
|
||||
|
||||
Reference in New Issue
Block a user