Skip to content

Commit b220e1d

Browse files
committed
Improve fastly check
1 parent efd2ddb commit b220e1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

subdomain_takeover_tools/confirm_fastly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def is_valid(domain, _):
2020
def confirm_fastly(domain):
2121
setup_response = session.post(url, data={'name': domain})
2222
session.delete(url + '/' + prepare_domain_name(domain))
23-
return setup_response.status_code == 200
23+
return "is owned by another customer" not in setup_response.text
2424

2525

2626
def main():

0 commit comments

Comments
 (0)