sftp bugs

Martin Pool mbp at sourcefrog.net
Thu Dec 1 00:25:46 GMT 2005


On 30 Nov 2005, Jan Hudec <bulb at ucw.cz> wrote:
> Well, it's not entirely clear about it, but I was refering to the
> following:
> 
> [...] Paths starting with any other character are relative to the user's
> home or default directory. Note that the characters "/" and ";" are
> reserved and must be encoded. [...]
> 
> So in the end it depends on whether RFC3629 considers // equal to / or
> not. But I'd rather see // mean absolute path nevertheless as it seems a
> bit more usable.

Existing implementations seem very inconsistent.  I think
sftp://host//etc looks much more like an absolute path than a relative
path.  

lftp uses sftp://host/path for absolute, and sftp://host/~/path for
relative, which also seems reasonable.  I'd prefer this but I don't have
a strong opinion.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051201/ef4cc8e0/attachment.pgp 


More information about the bazaar mailing list