From 5385c1571c1b22d65360f819090d786556adc765 Mon Sep 17 00:00:00 2001 From: bashrc Date: Tue, 21 Apr 2026 16:18:58 +0100 Subject: [PATCH] Check for removal --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index acdc690c1..6d4d0fd58 100644 --- a/utils.py +++ b/utils.py @@ -4144,7 +4144,7 @@ def check_bad_path(path: str): if string_ends_with(path_lower, bad_endings): return True - if '/.ghost/activitypub/' in path_lower: + if '/.ghost/activitypub/' in path_lower and '/.' in bad_strings: bad_strings.remove('/.') if string_contains(path_lower, bad_strings):