mirror of https://gitlab.com/bashrc2/epicyon
Nickname
parent
6da0060f6c
commit
faefedfc98
|
@ -5153,6 +5153,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
pageNumber=self._receiveNewPost(authorized,currPostType,self.path)
|
pageNumber=self._receiveNewPost(authorized,currPostType,self.path)
|
||||||
if pageNumber:
|
if pageNumber:
|
||||||
|
nickname=path.split('/users/')[1]
|
||||||
|
if '/' in nickname:
|
||||||
|
nickname=nickname.split('/')[0]
|
||||||
|
|
||||||
self._redirect_headers(self.server.httpPrefix+'://'+self.server.domainFull+ \
|
self._redirect_headers(self.server.httpPrefix+'://'+self.server.domainFull+ \
|
||||||
'/users/'+nickname+ \
|
'/users/'+nickname+ \
|
||||||
'/'+postRedirect+ \
|
'/'+postRedirect+ \
|
||||||
|
|
Loading…
Reference in New Issue