If this is what you refer to:
"return htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, $encoding); to return htmlspecialchars($string, ENT_COMPAT, $encoding);"

I coud not find any "ENT_HTML401"

but:

grep -r "ENT_COMPAT" .
./functions/i18n.php: if (! $save_html) $string = htmlspecialchars ($string,ENT_COMPAT,'iso-8859-1');
./functions/i18n.patch:+ if (! $save_html) $string = htmlspecialchars ($string,ENT_COMPAT,'iso-8859-1');
./functions/i18n.php.orig: if (! $save_html) $string = htmlspecialchars ($string,ENT_COMPAT,'iso-8859-1');
./functions/url_parser.php: in_array($match[0],sq_get_html_translation_table(HTML_ENTITIES,ENT_COMPAT,'utf-8')))) {
./plugins/quicksave/login_functions.php:function convert_html_entities_to_unicode_entities($string, $quote_style=ENT_COMPAT)
./bigpatch.patch:+ return htmlspecialchars($string, ENT_COMPAT, $encoding);
./squirrelmail/functions/url_parser.php: in_array($match[0],sq_get_html_translation_table(HTML_ENTITIES,ENT_COMPAT,'utf-8')))) {
./squirrelmail/plugins/quicksave/login_functions.php:function convert_html_entities_to_unicode_entities($string, $quote_style=ENT_COMPAT)
./src/compose.patch:+ echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
./src/compose.patch:+ echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
./src/compose.patch:+ echo htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
./src/compose.php: echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
./src/compose.php: echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
./src/compose.php: echo htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');

If you didn't mean that, could you explain to me what is the change you reffer to?
Thanks

On Wed, November 7, 2012 19:31, Tomas Kuliavas wrote:
> 2012.11.07 15:14 "Andrés Chandía" rašė:
>>
>>
>> It seems that if the original message appears or not at the answer it
>> depends on the
>> codification of the sender of the original message, because even with
>> interface in english
>> some answers do not include the original message.
>
> SquirrelMail 1.4.22 has about 230 htmlspecialchars calls. Most of them are
> not affected by this problem, but if you want to play safe, you are free
> to replace them all with three parameter htmlspecialchars version from
> email thread in my previous link.
>
> Please note that I am not SquirrelMail developer and I have no intention
> of writing patches for SquirrelMail.
>



_______________________
            andrés chandía
chandia.net
P No imprima innecesariamente. ¡Cuide el medio ambiente!