diff --git a/utils.py b/utils.py index 36ee2edbe..db3191d67 100644 --- a/utils.py +++ b/utils.py @@ -1327,7 +1327,7 @@ def dangerous_svg(content: str, allow_local_network_access: bool) -> bool: def _get_statuses_list() -> []: """Returns a list of statuses path strings """ - return ('/statuses/', '/objects/', '/p/', '/h/') + return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/') def contains_statuses(url: str) -> bool: @@ -2505,7 +2505,7 @@ def _get_reserved_words() -> str: 'mention', 'http', 'https', 'ipfs', 'ipns', 'ontologies', 'data', 'postedit', 'moved', 'inactive', 'activitypub', 'actors', - 'notes', 'offers', 'wanted') + 'notes', 'offers', 'wanted', 'honk') def get_nickname_validation_pattern() -> str: