Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove BOM not only on start of the content #4777
Reported by @alecpl on 27 Feb 2015 07:50 UTC as Trac ticket #1490291
A newsletter sent from coindesk.com contains invalid HTML content (quoted-printable):
As you see it put BOM sequence not as the first characters. Roundcube will not remove it. This causes DOMDocument parser in rcube_washtml class to fail. The message will be empty.
I propose to remove BOM sequences not only on start of the body but also in the whole body.