fixed UPnP issue where the control url contained the base url
This commit is contained in:
parent
f07ff08dd2
commit
2ad491cfd3
|
@ -877,7 +877,7 @@ void upnp::on_upnp_xml(error_code const& e
|
|||
}
|
||||
}
|
||||
|
||||
if (!s.url_base.empty())
|
||||
if (!s.url_base.empty() && s.control_url.substr(7) != "http://")
|
||||
{
|
||||
// avoid double slashes in path
|
||||
if (s.url_base[s.url_base.size()-1] == '/'
|
||||
|
|
Loading…
Reference in New Issue