mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Quote password in plink command line, so it can contain spaces. Fixes issue #2667.
This commit is contained in:
@@ -885,7 +885,7 @@ begin
|
||||
else
|
||||
PlinkCmd := PlinkCmd + FParameters.Hostname;
|
||||
if FParameters.SSHPassword <> '' then
|
||||
PlinkCmd := PlinkCmd + ' -pw ' + FParameters.SSHPassword;
|
||||
PlinkCmd := PlinkCmd + ' -pw "' + FParameters.SSHPassword + '"';
|
||||
if FParameters.SSHPort > 0 then
|
||||
PlinkCmd := PlinkCmd + ' -P ' + IntToStr(FParameters.SSHPort);
|
||||
if FParameters.SSHPrivateKey <> '' then
|
||||
|
||||
Reference in New Issue
Block a user