From d8ed70f7d2dbaff67a014f42f914c352dd82667c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 Jul 2019 21:56:26 +0100 Subject: [PATCH] Domain permissions --- utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.py b/utils.py index 83f5e619..af41846f 100644 --- a/utils.py +++ b/utils.py @@ -51,6 +51,8 @@ def domainPermitted(domain: str, federationList: []): return False def urlPermitted(url: str, federationList: [],capability: str): + if url.endswith('gab.com'): + return False if len(federationList)==0: return True for domain in federationList: