Patch Net::HTTP#connect to make SSRF protection work
Due to https://github.com/ruby/net-http/pull/36, the SNI hostname was not being set because the `connect` method always received an IP address. We patch this change so that SNI will be used if the hostname override is present. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/413528
加载中
想要评论请 注册 或 登录