From 7d125c25f1c8568f2a80cdfed22c0b6a23d5cb42 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Jan 2023 22:28:13 +0000 Subject: [PATCH] Filter out posts containing zero width spaces --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index ce258e548..4c9ad21e6 100644 --- a/utils.py +++ b/utils.py @@ -36,7 +36,7 @@ VALID_HASHTAG_CHARS = \ # both incoming and outgoing. # Could include dubious clacks or admin dogwhistles INVALID_CHARACTERS = ( - '卐', '卍', '࿕', '࿖', '࿗', '࿘', 'ϟϟ', '🏳️‍🌈🚫', '⚡⚡' + '卐', '卍', '࿕', '࿖', '࿗', '࿘', 'ϟϟ', '🏳️‍🌈🚫', '⚡⚡', '​' ) INVALID_ACTOR_URL_CHARACTERS = (