From 344036e3f554b0d103c1a7cdb33f63849e010ceb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 3 May 2023 19:56:05 +0100 Subject: [PATCH] Another user path --- utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index e5736a7a4..6a70c53d6 100644 --- a/utils.py +++ b/utils.py @@ -1402,7 +1402,7 @@ def get_user_paths() -> []: """ return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/', '/c/', '/video-channels/', '/author/', '/activitypub/', - '/actors/', '/snac/', '/@/', '/~/') + '/actors/', '/snac/', '/@/', '/~/', '/notes/') def get_group_paths() -> []: @@ -2354,7 +2354,8 @@ def _get_reserved_words() -> str: 'searchemoji', 'catalog', 'conversationId', 'mention', 'http', 'https', 'ipfs', 'ipns', 'ontologies', 'data', 'postedit', 'moved', - 'inactive', 'activitypub', 'actors') + 'inactive', 'activitypub', 'actors', + 'notes') def get_nickname_validation_pattern() -> str: