[vlc-devel] [PATCH] upnp: Correct top directory url formatting

Thomas Guillem thomas at gllm.fr
Wed Nov 25 13:17:19 CET 2020


Merged, thanks !

On Thu, Nov 19, 2020, at 17:59, Alaric Senat wrote:
> 
> The url appended here is the ContrentDirectoryService's control point url of an upnp server. 
> This url is assembled upper in the code so it's probably safe to assume that it will looks like this:
> `http://upnp-server-ip/somepath/ContentDirectoryService'
> Which may be why the patched code was appending the url like that in the first place.
> 
> There are some cases where this could fail indeed but since the last part of the url is basically given by the upnp server description, these edges cases could come from a bad server configuration.
> 
> Alaric
> On Thu, Nov 19, 2020 at 17:13, RĂ©mi Denis-Courmont <remi at remlab.net> wrote:
>> Are you sure that the URL ends with either a list of parameters or a path? There are other cases that this leaves broken. Blindly appending to a URL is not a great idea.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20201125/b53cc84f/attachment.html>


More information about the vlc-devel mailing list