escape query as suggested in issue #7200
This commit is contained in:
parent
4cc4784563
commit
ce8f5c31df
|
@ -69,9 +69,9 @@ func (c *DriverConfig) Validate(SkipExport bool) error {
|
||||||
// now, so that we don't fail for a simple mistake after a long
|
// now, so that we don't fail for a simple mistake after a long
|
||||||
// build
|
// build
|
||||||
ovftool := GetOVFTool()
|
ovftool := GetOVFTool()
|
||||||
ovfToolArgs := []string{"--verifyOnly", fmt.Sprintf("vi://" +
|
ovfToolArgs := []string{"--verifyOnly", fmt.Sprintf("vi://%s:%s@%s",
|
||||||
url.QueryEscape(c.RemoteUser) + ":" +
|
url.QueryEscape(c.RemoteUser),
|
||||||
url.QueryEscape(c.RemotePassword) + "@" +
|
url.QueryEscape(c.RemotePassword),
|
||||||
c.RemoteHost)}
|
c.RemoteHost)}
|
||||||
|
|
||||||
var out bytes.Buffer
|
var out bytes.Buffer
|
||||||
|
|
Loading…
Reference in New Issue