Reinhold Kainhofer reinhold at
Sat Nov 13 10:40:11 GMT 2004

Reinhold Kainhofer wrote:

> Dawit A. wrote:
>> On Friday 12 November 2004 17:34, Thiago Macieira wrote:
>>> Rolf Magnus wrote:
>>> >> The syntax is actually protocol://[host]/path. The // is mandatory.
>>> >
>>> >For what reason? Why is it so absolutely necessary to add a dummy //,
>>> > even if the protocol doesn't support a concept of a host?
>>> Because "the standard says so".
> No, the standard does NOT say so. See section 3 of rfc 2396:

Okay, reading up a bit more on the rfc's:

rfc 2396 was deprecated by rfc 2396bis, which defines the abnf:
 hier-part     = "//" authority path-abempty
               / path-absolute
               / path-rootless
               / path-empty

Here, path-absolute does also not require the // at the beginning, so
file:/path/to/file should also be correct grammatically, according to that

However, the preamble to rfc 2396bis says the specific schemes described in
rfc 1738 (the file: scheme is among them) will be updated in separate
documents. Does anybody know where the file: scheme was updated?


More information about the kde-core-devel mailing list