"Lennart Borgman (gmail)" <[EMAIL PROTECTED]> writes:

> `browse-url-file-url' returns an URL that looks like
>
>   file:c:/full/path-to-file.css
>
> at least on w32. Such an URL does not work in for example a
>
>   <link href="..." rel="StyleSheet" />
>
> tag in Firefox in an xhtml file. I would expect this to be a bug in
> Emacs and not in Firefox, but I am not sure.

I agree, this seems like a bug. I have never seen file URLs like that,
and this RFC (http://tools.ietf.org/html/rfc1738) suggests the same:

3.10 FILES


   The file URL scheme is used to designate files accessible on a
   particular host computer. This scheme, unlike most other URL schemes,
   does not designate a resource that is universally accessible over the
   Internet.

   A file URL takes the form:

       file://<host>/<path>

   where <host> is the fully qualified domain name of the system on
   which the <path> is accessible, and <path> is a hierarchical
   directory path of the form <directory>/<directory>/.../<name>.

Firefox gives me URLs like this if I drop a local file into it:

file:///H:/dat/doc/txt/fillme.txt




_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to