diff --git a/daemon.py b/daemon.py index a592f036..dbb4bbec 100644 --- a/daemon.py +++ b/daemon.py @@ -5153,6 +5153,10 @@ class PubServer(BaseHTTPRequestHandler): pageNumber=self._receiveNewPost(authorized,currPostType,self.path) if pageNumber: + nickname=path.split('/users/')[1] + if '/' in nickname: + nickname=nickname.split('/')[0] + self._redirect_headers(self.server.httpPrefix+'://'+self.server.domainFull+ \ '/users/'+nickname+ \ '/'+postRedirect+ \