Explorar el Código

reset token when another < is detected, to ensure that HTML tags between
style tags do not break finding the end tag.

Thijs Kinkhorst hace 17 años
padre
commit
b57f700812
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -1927,7 +1927,7 @@ function sq_fixstyle($body, $pos, $message, $id, $mailbox){
         $char = $body{$i};
         switch ($char) {
             case '<':
-                $sToken .= $char;
+                $sToken = $char;
                 break;
             case '/':
                  if ($sToken == '<') {