[Pidgin] #8269: purple-url-handler fails to parse irc://... urls when e.g., ICQ account is present

Pidgin trac at pidgin.im
Wed Jan 28 09:23:02 EST 2009


#8269: purple-url-handler fails to parse irc://... urls when e.g., ICQ account is
present
---------------------+------------------------------------------------------
 Reporter:  Hendrik  |           Owner:           
     Type:  patch    |          Status:  new      
Milestone:           |       Component:  libpurple
  Version:  2.5.3    |      Resolution:           
 Keywords:           |   Launchpad_bug:           
---------------------+------------------------------------------------------
Description changed by Hendrik:

Old description:

> The purple-url-handler fails to correctly handle irc://-urls if in the
> list of accounts there is an ICQ account before the account that matches
> the server. In this case, an array out of bounds exception occurs while
> trying to split the the username (there is no "@"-sign in the ICQ-
> number).
>
> Also, the IRC-Url handler fails if a port is given inside the url.
>
> Rudimentary fix for both issues is attached.

New description:

 The purple-url-handler fails to correctly handle irc://-urls if in the
 list of accounts there is an ICQ account before the account that matches
 the server. In this case, an array index out of bounds exception occurs
 while trying to split the the username (there is no "@"-sign in the ICQ-
 number).

 Also, the IRC-Url handler fails if a port is given inside the url.

 Rudimentary fix for both issues is attached.

--

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


More information about the Tracker mailing list