mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
ssh commands: fix parsing commands with space
For now we support "\" escaping style
This commit is contained in:
@@ -56,6 +56,7 @@ func (c *scpCommand) handle() error {
|
||||
}
|
||||
} else {
|
||||
err = fmt.Errorf("scp command not supported, args: %v", c.args)
|
||||
c.connection.Log(logger.LevelDebug, logSenderSCP, "unsupported scp command, args: %v", c.args)
|
||||
}
|
||||
c.sendExitStatus(err)
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user