diff --git a/utils.py b/utils.py index 610974247..66dc5fa45 100644 --- a/utils.py +++ b/utils.py @@ -1327,7 +1327,7 @@ def get_user_paths() -> []: e.g. /users/nickname, /channel/nickname """ return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/', - '/c/', '/video-channels/', '/author/') + '/c/', '/video-channels/', '/author/', '/activitypub/') def get_group_paths() -> []: @@ -2263,7 +2263,7 @@ def _get_reserved_words() -> str: 'searchemoji', 'catalog', 'conversationId', 'mention', 'http', 'https', 'ipfs', 'ipns', 'ontologies', 'data', 'postedit', 'moved', - 'inactive') + 'inactive', 'activitypub') def get_nickname_validation_pattern() -> str: