Skip to content
Snippets Groups Projects
Commit b984be67 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: use using for HTTPS detection.

parent 9fa01471
No related branches found
No related tags found
No related merge requests found
......@@ -1527,9 +1527,10 @@ class ResourceAuditor
return unless @online
urls.each do |url|
strategy = DownloadStrategyDetector.detect(url)
next if !@strict && mirrors.include?(url)
strategy = DownloadStrategyDetector.detect(url, using)
if strategy <= CurlDownloadStrategy && !url.start_with?("file")
next if !@strict && mirrors.include?(url)
if http_content_problem = FormulaAuditor.check_http_content(url)
problem http_content_problem
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment