upnp: upnp-mapping doesn't work on certain routers
|Reported by:||noonien||Owned by:||datallah|
|Version:||2.10.6||Keywords:||upnp mapping file|
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 :)
Change History (7)
Changed 4 years ago by noonien
comment:4 Changed 4 years ago by Ferdinand Stehle <unknown>
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 4 years ago by Jorge Villaseñor <salinasv@…>
- Milestone changed from 2.10.7 to 3.0.0