forked from rDrama/rDrama
1
0
Fork 0

tlds should be lowercase always - fixes issue with ppl forgetting space after dot while typing posts or comments

master
Aevann 2023-05-03 21:06:25 +03:00
parent 4f0f790038
commit 136a12f126
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ def build_url_re(tlds, protocols):
""".format(
"|".join(sorted(protocols)), "|".join(sorted(tlds))
),
re.IGNORECASE | re.VERBOSE | re.UNICODE,
re.VERBOSE | re.UNICODE,
)
url_re = build_url_re(tlds=TLDS, protocols=['http', 'https'])