Skip to content

Commit

Permalink
Update issuers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vrbanecd authored Mar 1, 2024
1 parent a19b732 commit af9e330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaat/issuers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def is_url(string):
"""Return True if parameter is a URL, otherwise False"""
regex = re.compile(
r"^(?:http|ftp)s?://" # http:// or https://
r"^(?:http|ftp)s?://" # http:// or https://
r"(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?)(?:\.[A-Z]{2,6}|[A-Z0-9-]{2,})*\.?|\d{1,3}\." # domain...
r"localhost|" # localhost...
r"\d{1,3}\.\d{1,3}\.\d{1,3})" # ...or ip
Expand Down

0 comments on commit af9e330

Please sign in to comment.