Bug
- Fixed that 'ssh://host/~/path' was wrongly translated into scp syntax; it must be 'host:~/path' instead of 'host:/~/path'
This commit is contained in:
@@ -294,7 +294,7 @@ void Uri::parse ()
|
||||
}
|
||||
|
||||
// path is absolute for ssh:// syntax
|
||||
if ( (_protocol == "ssh") && (pathDelimiter == "/") )
|
||||
if ( (_protocol == "ssh") && (pathDelimiter == "/") && (_path[0] != '~') )
|
||||
{
|
||||
_path = "/" + _path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user