mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
d8d2060b39
commit
38aef0d8b4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue