mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
Automatic merge from release/2.6.0 -> release/2.7.0
* commit 'c1f3ab0801121164a95743c18b228bccdfc443d1': 避免多次编码后,qcloud不能解开url编码
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user