From a3c9468166665cfb68839f774e20409821617ae1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 Oct 2021 17:52:17 +0100 Subject: [PATCH] No slash --- content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.py b/content.py index d6ad2b96e..8a9c2b661 100644 --- a/content.py +++ b/content.py @@ -1203,6 +1203,6 @@ def containsInvalidLocalLinks(content: str) -> bool: 'handle', 'blockdomain' ) for invStr in invalidStrings: - if '/?' + invStr + '=' in content: + if '?' + invStr + '=' in content: return True return False