mirror of https://gitlab.com/bashrc2/epicyon
Check for removal
parent
4fcc1446c0
commit
5385c1571c
2
utils.py
2
utils.py
|
|
@ -4144,7 +4144,7 @@ def check_bad_path(path: str):
|
||||||
if string_ends_with(path_lower, bad_endings):
|
if string_ends_with(path_lower, bad_endings):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if '/.ghost/activitypub/' in path_lower:
|
if '/.ghost/activitypub/' in path_lower and '/.' in bad_strings:
|
||||||
bad_strings.remove('/.')
|
bad_strings.remove('/.')
|
||||||
|
|
||||||
if string_contains(path_lower, bad_strings):
|
if string_contains(path_lower, bad_strings):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue