PMCORE-3835

This commit is contained in:
Mauricio Veliz
2022-05-13 17:09:51 -04:00
parent c07f468d20
commit 3c363b498d
11 changed files with 3086 additions and 2026 deletions

View File

@@ -154,7 +154,7 @@ class HTMLPurifier_Encoder
$len = strlen($str);
for ($i = 0; $i < $len; $i++) {
$in = ord($str{$i});
$in = ord($str[$i]);
$char .= $str[$i]; // append byte to char
if (0 == $mState) {
// When mState is zero we expect either a US-ASCII character