Additional statuses paths

main
Bob Mottram 2024-05-26 11:43:57 +01:00
parent c4cbbfa073
commit 704ba91d0f
1 changed files with 2 additions and 1 deletions

View File

@ -1654,7 +1654,8 @@ 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/', '/honk/', '/p/', '/h/', '/api/posts/')
return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/',
'/notes/', '/comment/')
def contains_statuses(url: str) -> bool: