summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-11-10 11:04:28 +0100
committerRémy Coutable <remy@rymai.me>2017-11-10 14:18:07 +0100
commit98ea2aafbc45d6ca51879c25fd0aecce0e5c8b86 (patch)
tree2e980abea6b19600ae81d7c26a7fed7c2d83b9c8
parentb750c961615697286c4c00668a432851498c739d (diff)
downloadgitlab-ce-rc/gitlab-qa-89.tar.gz
Escape the password for Git callsrc/gitlab-qa-89
Signed-off-by: Rémy Coutable <remy@rymai.me>
-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 b9e199000d6..59cd147e055 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 = pass
+ @uri.password = CGI.escape(pass)
end
def use_default_credentials