mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +00:00
make sure that simplex chatroom links with a ; arent accepted, and that option 4 removes duplicates before iterating
This commit is contained in:
parent
075ea091d4
commit
22489e571e
2 changed files with 35 additions and 23 deletions
|
@ -150,6 +150,8 @@ def IsUrlValid(url:str)->bool:
|
|||
else:
|
||||
if not url.__contains__('.'):
|
||||
return False
|
||||
if url.__contains__(';'):
|
||||
return False #required otherwise lantern thinks there are extra columns
|
||||
if pattern.fullmatch(url) is None:
|
||||
return False
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue