[Pidgin] #12238: IRC Helper breaks blist.xml when certain characters are in IRC channel subject lines

Pidgin trac at pidgin.im
Thu Jun 24 21:05:07 EDT 2010


#12238: IRC Helper breaks blist.xml when certain characters are in IRC channel
subject lines
-------------------+--------------------------------------------------------
Reporter:  cheald  |        Type:  defect              
  Status:  new     |   Component:  plugins             
 Version:  2.7.1   |    Keywords:  irc-helper blist xml
-------------------+--------------------------------------------------------
 Quitting Pidgin with the IRC Helper plugin enabled and certain topics in
 IRC channels can cause Pidgin to fail to parse the blist.xml file on next
 restart, which causes the file to be trashed and all the saved IRC
 channels to be forgotten.

 Example:

 {{{
 <chat proto='prpl-irc' account='xxx at irc.GameSurge.Net'>
         <component name='channel'>#elitistjerks</component>
         <setting name='gtk-autojoin' type='bool'>1</setting>
         <setting name='gtk-mute-sound' type='bool'>0</setting>
         <setting name='core-rlaager-irchelper_topic' type='string'>Elitist
 Jerks | HAPPY BURFSDAY VHELL AND TOBIN ! BEST MENS ALIV&#x1c;E | Rules:
 http://elitistjerks.com/chat.php</setting>
 </chat>
 }}}

 &#x1c; is not well-formed XML; it should be &#x1c;. Pidgin would need
 to encode those entities upon writing the XML, and then decode them
 (twice) before displaying them in the subject line.

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


More information about the Tracker mailing list