summaryrefslogtreecommitdiff
path: root/spec/support/helpers/stub_requests.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-03-231-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-02-171-5/+14
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-02-151-14/+5
|
* Stub DNS to return IPv4 addressdeterminstic_dns_specsThong Kuah2019-07-291-0/+13
| | | | Otherwise certain machines return IPv6 first, which is non-deterministic
* Add frozen_string_literal to spec/supportThong Kuah2019-07-251-0/+2
| | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Protect Gitlab::HTTP against DNS rebinding attackDouwe Maan2019-05-301-0/+40
Gitlab::HTTP now resolves the hostname only once, verifies the IP is not blocked, and then uses the same IP to perform the actual request, while passing the original hostname in the `Host` header and SSL SNI field.