[vlc-devel] [PATCH 1/2] playlist/preparser: do not "download" local art

Rémi Denis-Courmont remi at remlab.net
Thu Dec 8 19:17:07 CET 2016


Le torstaina 8. joulukuuta 2016, 11.14.19 EET Filip Roséen a écrit :
> The previous implementation would consider FILE:///art.jpg to be a
> remote resources, meaning that it would try to "download" the file and
> put it in the cache.
> 
> Given that the scheme part of an URI is case-insensitive (as stated in
> RFC3986 3.1.), these changes make sure that we treat the affected
> schemes in the way which was intended.

It feels like dancing around the problem. Some file URIs are not local 
(network file systems, user-space file systems), or are slow to access. Also a 
number of other URI schemes are not networked and do not need to be cached.

That said, yes, obviously the comparison should be case-insensitive insofar as 
it should be at all.

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



More information about the vlc-devel mailing list