Skip to content

Commit

Permalink
fix: #11 Checker fails with capital letters in url
Browse files Browse the repository at this point in the history
  • Loading branch information
kesslerdev committed Feb 17, 2019
1 parent 360d102 commit ada6aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/python/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def output(type, code, speech = ''):
def finddomains(string):
"""Find a domain name substring from a string"""

return findall('[a-z0-9\-]{,63}\.[a-z0-9\-\.]{2,191}', string)
return findall('[a-z0-9\-]{,63}\.[a-z0-9\-\.]{2,191}', string.lower())

def http(method, url):
"""Send HTTP request with the Leon user agent"""
Expand Down

0 comments on commit ada6aae

Please sign in to comment.