mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
fix subdomains
This commit is contained in:
parent
cea98c332d
commit
7c06ba5faf
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ func lower_domain(url: String) -> String:
|
|||
|
||||
|
||||
func is_valid_domain(domain: String) -> bool:
|
||||
if domain.is_empty() or domain.split(".").size() != 2:
|
||||
if domain.is_empty() or domain.split(".").size() < 2:
|
||||
return false
|
||||
|
||||
return tld_list.has(domain.get_extension().to_lower())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue