mirror of https://gitlab.com/bashrc2/epicyon
Return to inbox
parent
83eda427fd
commit
38bba4eeae
10
daemon.py
10
daemon.py
|
@ -2688,7 +2688,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
nickname=self.path.split('/users/')[1]
|
||||
if '/' in nickname:
|
||||
nickname=nickname.split('/')[0]
|
||||
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
|
||||
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
|
||||
self.server.POSTbusy=False
|
||||
return
|
||||
postState=self._receiveNewPost(authorized,'newunlisted')
|
||||
|
@ -2696,7 +2696,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
nickname=self.path.split('/users/')[1]
|
||||
if '/' in nickname:
|
||||
nickname=nickname.split('/')[0]
|
||||
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
|
||||
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
|
||||
self.server.POSTbusy=False
|
||||
return
|
||||
postState=self._receiveNewPost(authorized,'newfollowers')
|
||||
|
@ -2704,7 +2704,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
nickname=self.path.split('/users/')[1]
|
||||
if '/' in nickname:
|
||||
nickname=nickname.split('/')[0]
|
||||
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
|
||||
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
|
||||
self.server.POSTbusy=False
|
||||
return
|
||||
postState=self._receiveNewPost(authorized,'newdm')
|
||||
|
@ -2712,7 +2712,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
nickname=self.path.split('/users/')[1]
|
||||
if '/' in nickname:
|
||||
nickname=nickname.split('/')[0]
|
||||
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
|
||||
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
|
||||
self.server.POSTbusy=False
|
||||
return
|
||||
postState=self._receiveNewPost(authorized,'newreport')
|
||||
|
@ -2720,7 +2720,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
nickname=self.path.split('/users/')[1]
|
||||
if '/' in nickname:
|
||||
nickname=nickname.split('/')[0]
|
||||
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
|
||||
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
|
||||
self.server.POSTbusy=False
|
||||
return
|
||||
postState=self._receiveNewPost(authorized,'newshare')
|
||||
|
|
Loading…
Reference in New Issue