[Pidgin] #324: purple_url_handler duplicates purple_got_protocol_handler_uri()
Pidgin
trac at pidgin.im
Thu Apr 26 16:45:21 EDT 2007
#324: purple_url_handler duplicates purple_got_protocol_handler_uri()
---------------------------+------------------------------------------------
Reporter: rlaager | Owner: datallah
Type: defect | Status: new
Priority: minor | Milestone:
Component: pidgin (gtk) | Version: 2.0
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment (by ltm):
I only had a very brief look at purple_got_protocol_handler_uri(), but
will this function not fail to parse, for instance, IRC, SIP, and XMPP
URIs (the only schemes defined in RFCs and the only schemes actually
conforming to RFC 2396). The function assumes the path component of the
URI to be a command - it is, however, a channel name in IRC URIs and a
screenname in SIP and XMPP URIs. Furthermore, the function will split
params by "&", while IRC URIs use "," and XMPP URIs use ";". I suggest
that each prpl should be responsible for parsing the URI schemes it
supports.
--
Ticket URL: <http://developer.pidgin.im/ticket/324#comment:1>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list