mirror of https://gitlab.com/bashrc2/epicyon
Users path for delete
parent
8f8a3098fd
commit
02b0df7bc7
|
@ -9821,9 +9821,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if '?' in timeline_str:
|
if '?' in timeline_str:
|
||||||
timeline_str = timeline_str.split('?')[0]
|
timeline_str = timeline_str.split('?')[0]
|
||||||
users_path = path.split('?delete=')[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 = \
|
actor = \
|
||||||
http_prefix + '://' + domain_full + users_path
|
http_prefix + '://' + domain_full + users_path
|
||||||
if self.server.allow_deletion or \
|
if self.server.allow_deletion or \
|
||||||
|
|
Loading…
Reference in New Issue