Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloudfrunt.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def find_cf_issues(domains):
try:
response = urlopen('http://' + domain)
except HTTPError as e:
if e.code == 403 and 'Bad request' in e.fp.read():
if e.code == 403 and b'Bad request' in e.fp.read():
try:
response = urlopen('https://' + domain)
except URLError as e:
Expand Down