Users path for delete

main
Bob Mottram 2022-03-12 14:24:36 +00:00
parent 8f8a3098fd
commit 02b0df7bc7
1 changed files with 0 additions and 3 deletions

View File

@ -9821,9 +9821,6 @@ class PubServer(BaseHTTPRequestHandler):
if '?' in timeline_str:
timeline_str = timeline_str.split('?')[0]
users_path = path.split('?delete=')[0]
if not users_path.startswith('/users/'):
if '/users/' in users_path:
users_path = '/users/' + users_path.split('/users/')[1]
actor = \
http_prefix + '://' + domain_full + users_path
if self.server.allow_deletion or \