[Pidgin] #9824: html log writer does not escape special chars

Pidgin trac at pidgin.im
Sun Aug 2 12:06:32 EDT 2009


#9824: html log writer does not escape special chars
--------------------------+-------------------------------------------------
 Reporter:  thomas001     |     Owner:  rekkanoryo
     Type:  defect        |    Status:  new       
Component:  unclassified  |   Version:  2.5.8     
 Keywords:                |  
--------------------------+-------------------------------------------------
 Some of my buddys use the > and < in their nick names. The logwriter
 writes out the nicks unescaped, so this results in malformed html. this
 appears in logged messages as well as in the html header. a sample log
 snippet is

 {{{
 <html><head><meta http-equiv="content-type" content="text/html;
 charset=UTF-8"><title>Conversation with >$teffi< at Sat 01 Aug 2009
 12:15:25 AM CEST on thomas001 (spin)</title></head><body><h3>Conversation
 with >$teffi< at Sat 01 Aug 2009 12:15:25 AM CEST on thomas001 (spin)</h3>
 <font color="#16569E"><font size="2">(12:15:30 AM)</font>
 <b>thomas001:</b></font> [text]<br/>
 <font color="#A82F2F"><font size="2">(12:17:05 AM)</font>
 <b>>$teffi<:</b></font> [text]<br/>
 <font color="#16569E"><font size="2">(12:17:17 AM)</font>
 <b>thomas001:</b></font> [text]<br/>
 <font color="#A82F2F"><font size="2">(12:17:57 AM)</font>
 <b>>$teffi<:</b></font> [text]<br/>
 }}}

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


More information about the Tracker mailing list