[vlc-devel] Re: [RFC] sanitize MRL format

Laurent Aimar fenrir at via.ecp.fr
Fri Jun 15 14:36:10 CEST 2007


On Fri, Jun 15, 2007, Damien Fouilleul wrote:
> yes, that makes sense, i would sign up for that. However, just to be the 
> devils advocate, on UNIX, you can still reference a file through 'x://y' 
> (although you really need to have a twisted mind to so so), ie.
> 
> $ mkdir "udp:"
> $ echo lala > "udp://1.2.3.4"
> 
> so what happen then when you launch vlc and open "udp://1.2.3.4", should 
> vlc turn it into 'file://udp://1.2.3.4' ?
 No it won't turn it itself as udp:// is a well formed url.

If you really meant a file use file:// from the command line.
If you open it through a GUI, it would be the gui job to prepand file://
(as in this case we know the user intention).

-- 
fenrir

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list