less strict domain check

This commit is contained in:
Jeremy Kauffman 2017-05-25 09:43:09 -04:00
parent f4663b42db
commit 2bd77de776

View file

@ -213,7 +213,7 @@ def check_url(url):
if new_location == url:
# self-loop
return False
if "github-cloud.s3.amazonaws.com/releases" in new_location:
if "amazonaws.com" in new_location:
# HEAD doesnt work on s3 links, so assume its good
return True
return check_url(new_location)