main
Bob Mottram 2020-02-21 12:55:11 +00:00
parent 6da0060f6c
commit faefedfc98
1 changed files with 4 additions and 0 deletions

View File

@ -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+ \