[vlc-devel] "file://localhost/" handling in input.c on win32

Rémi Denis-Courmont remi at remlab.net
Tue Aug 23 18:19:52 CEST 2011


Le mardi 23 août 2011 00:43:38 Michael A. Puls II, vous avez écrit :
> > VLC follows the standard defined by Microsoft for file:// URIs.
> 
> 5.3.3. in RFC3987 mentions this "localhost" issue generally and says that
> it can be equivalent to an empty domain.

Maybe. I was referring to the MSDN specification of file:, which explicitly 
maps URIs with a hostname to SMB. I was not referring to the OS-agnostic IETF 
specification, which does not really define how to interpret the hostname.

> The code I mentioned in input.c seems to recognize the general issue.

> > This is an Opera bug in my opinion. Local files are supposed to be
> > specified without a host name.
> 
> Opera's file URI handling throughout its codebase uses "file://localhost/"
> per the rfc mentioned above. They do not consider it a bug. It's
> intentional.
> 
> Given all that, would you be willing to work around it, even if you don't
> agree with Opera?

If you mean me, I don't really fancy working on issues affecting a proprietary 
browser that I don't use on a proprietary operating system that I don't use.

But I think this issue was already fixed a while ago in VLC 1.2.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list