summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-12-22 09:11:07 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-12-22 09:11:07 +0000
commit05292ba958c20ac560cdc43e90d954cb201eaf62 (patch)
tree7a48477fd623b411bd602929f382043f4f1970aa /qa
parent36f4710301926bb853b35d9b14a60e03b42def34 (diff)
parente7b0fe36d78a4462baf623bda5d34089a19e6c23 (diff)
downloadgitlab-ce-05292ba958c20ac560cdc43e90d954cb201eaf62.tar.gz
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.rb2
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