Google reCAPTCHA v2/v3 not working Gitlab 13.12.0/13.12.1
Summary
Gitlab 13.12.0 and 13.12.1 not working with Google reCAPTCHA v2/v3, with version 13.11.4 works well.
Steps to reproduce
Upgrade from 13.11.4 to 13.12.0 or 13.12.1 with Enable reCAPTCHA activated in Reporting (Admin Area).
Example Project
What is the current bug behavior?
reCAPTCHA challenge doesn't appear on login page, Gitlab tries to connect on https://www.google.com/recaptcha/api.js but appears blocked:csp (Content Security Policy)
What is the expected correct behavior?
reCAPTCHA challenge appears on login page.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)
Possible fixes
Edited by Bruno Martins
