sftp urls

Robert Collins robertc at robertcollins.net
Thu Dec 15 08:19:12 GMT 2005


On Thu, 2005-12-15 at 08:23 +0100, Jan Hudec wrote:
> On Thu, Dec 15, 2005 at 13:22:56 +1100, Robert Collins wrote:
> > So, I would like us to do the following:
> > 
> >  * revert to the 
> >  sftp://host/absolute 
> >  path behaviour. Turn off all 'homedir' behaviour temporarily.
> >  
> >  * email the URI working group with a request that homedir as a concept
> >  be explicitly added to URI's. Perhaps with a strawman like
> >  sftp://host~relativepath.
> 
> Doesn't the host need to be terminated with a /? Then it would have to
> be at least sftp://host/~relativepath and I would prefer
> sftp://host/~/relativepath so it's a) compatible with what one writes
> locally and b) allows extending to sftp://user@host/~otheruser/path.


No, because ~ in URI's is (IIRC) escaped anyway, and even ignoring that,
how do you get at /~/foobar in the filesystem? We have to extend the URL
spec, there is no way *within it* to represent homedir-as-a-concept.

> >  * implement relative paths after the dust settles.
> 
> Generally +1.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051215/55cb5b6f/attachment.pgp 


More information about the bazaar mailing list