Fix downloads failing due to duplicate SSRF filters
ssrf_filter v1.0.8 patches `SSLSocket#hostname=` to protect against server side request forgery (SSRF) attacks. We do the same thing in `gems/gitlab-http/lib/hostname_override_patch.rb`, except ssrf_filter lazily patches the request upon first use with CarrierWave. When both patches are activated, the process fails to download the file and reports `stack level too deep`. Relates to https://gitlab.com/gitlab-com/gl-infra/production/-/issues/19348 Changelog: fixed
加载中
想要评论请 注册 或 登录