[vlc-devel] [PATCH 2/2] Don't mangle URIs when passed into vlc_path2uri().

Rémi Denis-Courmont remi at remlab.net
Mon Dec 26 17:07:06 CET 2016


Le mercredi 21 décembre 2016, 14:04:03 Frank Praznik a écrit :
> If a valid URI is passed into vlc_path2uri() it will be mangled by having
> the working directory prepended to it.

If you pass a file path that looks like an URI, it will be converted to a 
proper absolute URI.

This patch changes the semantics of the function in incompatible manners, and 
with no alternative ways to get the original functionality. Plus it does not 
even do what the description says, since valid relative URIs are not handled.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list