[Pidgin] #1310: Auto-linking in conversation windows buggy

Pidgin trac at pidgin.im
Sun Nov 18 17:27:42 EST 2007


#1310: Auto-linking in conversation windows buggy
-------------------------+--------------------------------------------------
  Reporter:  shreevatsa  |       Owner:          
      Type:  defect      |      Status:  reopened
  Priority:  minor       |   Milestone:          
 Component:  libpurple   |     Version:  2.0.1   
Resolution:              |    Keywords:          
   Pending:  0           |  
-------------------------+--------------------------------------------------
Comment (by rrt):

 Since this bug has bitten me, I've been trying to understand how it
 arises. I've never looked at the pidgin codebase before, so I'm feeling a
 bit lost. I've been trying to find code that parses URLs. So far, I've
 only found purple_markup_html_to_xhtml in libpurple/util.c. This suggests
 that the input is HTML, and the output XHTML and plain text.

 In this function it's fairly easy to see how it could go wrong: rather
 than looking for a matching delimiter when scanning a URL, around line
 1550 in the 2.2.2 sources, it just goes until it finds ' or ".

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1310#comment:12>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list