SourceForge has been redesigned. Learn more.
Close

#296 Wrong Quotes with encoded names solved

closed
nobody
Compose (50)
5
2003-07-11
2003-05-22
No

If the name of a receipiant contains special characters
encoded and embedded in quotes like

"Jörg Müller" <jm@somewhere.de>

The reply to all function does not work. The quotes are
not replaced with " 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 "

With my patch the string is converted and reassemled
first and htmlspecialchars is called once for the complete
resulting string.

Reply to all works now for me even with names with
special German characters.

Is it necessary to report a bug before fixing it ? ;-)

Bernd

Discussion

  • Bernd Wiegmann

    Bernd Wiegmann - 2003-05-22

    Patch for quote bug

     
  • Marc Groot Koerkamp

    Logged In: YES
    user_id=476981

    If I'm correct I fixed this a while ago

     
  • Marc Groot Koerkamp

    • status: open --> closed
     

Log in to post a comment.