Commit Graph

6 Commits

Author SHA1 Message Date
GitLab Bot b38fc20ae0 Add latest changes from gitlab-org/gitlab@master 2021-03-23 12:09:33 +00:00
GitLab Bot 75a4eaade0 Add latest changes from gitlab-org/gitlab@master 2021-02-17 12:09:26 +00:00
GitLab Bot 6986c1adc2 Add latest changes from gitlab-org/gitlab@master 2021-02-15 12:09:29 +00:00
Thong Kuah 9c8f6e0cdf
Stub DNS to return IPv4 address
Otherwise certain machines return IPv6 first, which is non-deterministic
2019-07-29 19:20:30 -03:00
Thong Kuah f0391c2517 Add frozen_string_literal to spec/support
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-25 17:33:34 +12:00
Douwe Maan a9bcddee4c Protect Gitlab::HTTP against DNS rebinding attack
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.
2019-05-30 10:47:31 -03:00