diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-12-22 12:11:07 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-12-22 12:11:07 +0300 |
commit | 05292ba958c20ac560cdc43e90d954cb201eaf62 (patch) | |
tree | 7a48477fd623b411bd602929f382043f4f1970aa /qa | |
parent | 36f4710301926bb853b35d9b14a60e03b42def34 (diff) | |
parent | e7b0fe36d78a4462baf623bda5d34089a19e6c23 (diff) |
Merge branch 'qa-fix-escape-password-spaces' into 'master'
Escape spaces to %20 rather than +
See merge request gitlab-org/gitlab-ce!16037
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/git/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/git/repository.rb b/qa/qa/git/repository.rb index 59cd147e055..8f999511d58 100644 --- a/qa/qa/git/repository.rb +++ b/qa/qa/git/repository.rb @@ -23,7 +23,7 @@ module QA def password=(pass) @password = pass - @uri.password = CGI.escape(pass) + @uri.password = CGI.escape(pass).gsub('+', '%20') end def use_default_credentials |