[Pidgin] #15373: upnp: upnp-mapping doesn't work on certain routers

Pidgin trac at pidgin.im
Mon Oct 22 17:02:59 EDT 2012


#15373: upnp: upnp-mapping doesn't work on certain routers
---------------------+-------------------------------
 Reporter:  noonien  |      Owner:
     Type:  patch    |     Status:  new
Milestone:           |  Component:  libpurple
  Version:  2.10.6   |   Keywords:  upnp mapping file
---------------------+-------------------------------
 Hi,

 my router provides an empty "<URLBase/>" element in its upnp-descriptor.
 Because there actually is an urlbase-element, the baseUrl-Variable in the
 "purple_upnp_parse_description_response"-function stays empty.

 With my patch, the routine checks if the baseUrl-Variable is NULL instead
 of relying on the presence of the xml-element (that may be empty).

 If NULL, baseURL can be filled with the httpURL-variable.

 I didn't find any matching tickets, maybe my router is uncommon :)

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


More information about the Tracker mailing list