diff options
author | Rémy Coutable <remy@rymai.me> | 2017-11-10 11:04:28 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-11-10 16:06:29 +0100 |
commit | 7d65c2fc0279cd8a7f8405c1c01a3bfd9f6c7aca (patch) | |
tree | be79a4d6c5013e338dddfea27037bc415a1cf768 /qa | |
parent | 49d17e78ceb0656c40cb565a5f605b25d4286d42 (diff) | |
download | gitlab-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.rb | 2 |
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 |