Automatic merge from release/2.6.0 -> release/2.7.0

* commit 'c1f3ab0801121164a95743c18b228bccdfc443d1':
  避免多次编码后,qcloud不能解开url编码
This commit is contained in:
邱剑
2019-03-04 21:22:09 +08:00
+1 -5
View File
@@ -108,11 +108,7 @@ func (info *RemoteConsoleInfo) getOpenStackURL() (string, error) {
}
func (info *RemoteConsoleInfo) getQcloudURL() (string, error) {
base := "https://img.qcloud.com/qcloud/app/active_vnc/index.html"
params := url.Values{
"InstanceVncUrl": {info.Url},
}
return fmt.Sprintf("%s?%s", base, params.Encode()), nil
return "https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=" + info.Url, nil
}
func (info *RemoteConsoleInfo) getAliyunURL() (string, error) {