summaryrefslogtreecommitdiff
path: root/qa
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 16:06:29 +0100
commit7d65c2fc0279cd8a7f8405c1c01a3bfd9f6c7aca (patch)
treebe79a4d6c5013e338dddfea27037bc415a1cf768 /qa
parent49d17e78ceb0656c40cb565a5f605b25d4286d42 (diff)
downloadgitlab-ce-7d65c2fc0279cd8a7f8405c1c01a3bfd9f6c7aca.tar.gz
Escape the password for Git calls
Signed-off-by: Rémy Coutable <remy@rymai.me>
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 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