[BUG] transport.local: when local path given in url form

Denys Duchier duchier at ps.uni-sb.de
Mon Jan 9 19:53:09 GMT 2006


Wouter van Heyst <larstiq at larstiq.dyndns.org> writes:

>> I'm not really sure what a correct windows file:// url looks like. I
>> know on linux you end up with triple slashes "file:///usr/local/foo".
>> I assume that you can go to your browser and type:
>
> The third slash is special cased to resolve to 'localhost' afaik.

it's not exactly that the 3rd slash is special-cased: it is that the hostname
spec follows :// and ends at the next slash if any.  An empty hostname is
special cased to mean the current host.

Cheers,

--Denys






More information about the bazaar mailing list