增加建木devops地址配置URI.encode

This commit is contained in:
“xxq250” 2022-08-16 11:31:43 +08:00
parent 14c1be1bea
commit f211fbaec3
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ module ProjectsHelper
def jianmu_devops_url(token)
url = EduSetting.get("jianmu_devops_url") || "https://ci-v3.test.jianmuhub.com/oauth2/authorize?code="
"#{url}#{token}"
"#{url}#{URI.encode(token)}"
end
def aes_encrypt(key, des_text)