Browse Source

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

pull/313/head
“xxq250” 3 years ago
parent
commit
f211fbaec3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/helpers/projects_helper.rb

+ 1
- 1
app/helpers/projects_helper.rb 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)


Loading…
Cancel
Save