mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
Merge pull request #1161 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-conflict-qcloud-webconsole to release/2.5.0
* commit '2fa4d761e74673030801d53e6240e7e39787845b': 避免多次编码后,qcloud不能解开url编码
This commit is contained in:
@@ -98,11 +98,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