master
Bob Mottram 2019-08-31 14:34:43 +01:00
parent 52ba22e7ad
commit a94a332ff1
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ def domainPermitted(domain: str, federationList: []):
return False return False
def urlPermitted(url: str, federationList: [],capability: str): def urlPermitted(url: str, federationList: [],capability: str):
# https://www.youtube.com/watch?v=5qw1hcevmdU
evilDomains=['gab.com','gabfed.com','spinster.xyz'] evilDomains=['gab.com','gabfed.com','spinster.xyz']
for concentratedEvil in evilDomains: for concentratedEvil in evilDomains:
if url.endswith(concentratedEvil): if url.endswith(concentratedEvil):