Skip to content
Snippets Groups Projects
Unverified Commit b2b37894 authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Reword comment.

parent 803234d3
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ def curl_check_http_content(url, user_agents: [:default], check_content: false,
end
unless http_status_ok?(details[:status])
# The URL is protected by CloudFlare.
# Check if the URL is protected by CloudFlare.
if details[:status].to_i == 503 &&
details[:file].include?("set-cookie: __cfduid=") &&
details[:file].include?("server: cloudflare")
......
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