Hi,

On Fri, April 6, 2012 18:59, Dennis Boone wrote:
> I was hoping today's patches would solve what seemed like a related
> problem:  When Replying to or Forwarding some messages, the constructed
> starter message does not contain any of the body of the source message.
> I've attached an example.

Thanks for the example. The problem is that htmlspecialchars() changed
behaviour and now defaults to the UTF-8 character set. That sounds nice,
but is problematic if we feed it non-UTF-8 content that contains
characters that are not in UTF-8: htmlspecialchars() by default then
returns the entire result as an empty string.

This is not easy to fix as we call htmlspecialchars in many places in the
code. We'll have to investigate how to best fix this.

> The only log errors I'm seeing are these two:
>
> Apr  6 12:43:51 mail apache2: PHP Strict Standards:  Non-static method
> Message::parseStructure() should not be called statically in
> /usr/share/squirrelmail/functions/mime.php on line 36
>
> Apr  6 12:43:51 mail apache2: PHP Strict Standards:  Non-static method
> Message::parseBodyStructure() should not be called statically in
> /usr/share/squirrelmail/class/mime/Message.class.php on line 296

They are not related (and 'just' warnings); however, I've fixed these in
upstream SVN today.

Cheers,
Thijs




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to