If the name of a receipiant contains special characters
encoded and embedded in quotes like
"Jörg Müller" <email@example.com>
The reply to all function does not work. The quotes are
not replaced with &quot; and the initial value of the input
field ends with the first unencoded quote.
The bug is in the function decodeHeader in
functions/mime.php. This function decodes the encoded
part and calls htmlspecialchars only for the encoded parts
of the string. The quotes around the name are not in the
encoded part and are not converted to &quot;
With my patch the string is converted and reassemled
first and htmlspecialchars is called once for the complete
Reply to all works now for me even with names with
special German characters.
Is it necessary to report a bug before fixing it ? ;-)
Log in to post a comment.