Skip to content

Commit

Permalink
SSL certificate validation done
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 1, 2023
1 parent 3151129 commit 0e0dc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def check_ssl(hostname):
return True
except Exception:
return False

def check_russian_chars(domain):
try:
domain.encode('idna').decode('ascii')
Expand Down

0 comments on commit 0e0dc24

Please sign in to comment.