[Pidgin] #14884: msn_oim_report_to_user does not do charset verification/conversion

Pidgin trac at pidgin.im
Tue Jan 17 08:15:01 EST 2012


#14884: msn_oim_report_to_user does not do charset verification/conversion
--------------------------+-------------------------------------------------
 Reporter:  xnyhps        |     Owner:  QuLogic
     Type:  defect        |    Status:  new    
Component:  MSN           |   Version:  2.10.1 
 Keywords:  msn utf8 oim  |  
--------------------------+-------------------------------------------------
 {{{msn_oim_report_to_user()}}} never verifies if the message string is
 valid UTF-8.

 In fact, if I read
 [http://msnpiki.msnfanatic.com/index.php/MSNP13:Offline_IM#SOAP_Reply
 this] correctly, every message contains a {{{Content-Type: text/plain;
 charset=UTF-8}}} header, which I don't see being checked in that function.

 #a15774 is caused by Adium receiving something that wasn't in UTF-8.

 {{{msn_oim_report_to_user()}}} should at least reject invalid UTF-8, and
 ideally, do the charset conversion from the charset in the header to
 UTF-8.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/14884>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list