master
Bob Mottram 2019-08-24 13:38:36 +01:00
parent 1a5460c1da
commit 6cd58c6c9b
1 changed files with 2 additions and 2 deletions

View File

@ -1099,7 +1099,7 @@ class PubServer(BaseHTTPRequestHandler):
self.path.endswith('/newfollowers') or \ self.path.endswith('/newfollowers') or \
self.path.endswith('/newdm') or \ self.path.endswith('/newdm') or \
self.path.endswith('/newreport') or \ self.path.endswith('/newreport') or \
'/newreport?=' in self.path or \ '/newreport?' in self.path or \
self.path.endswith('/newshare')): self.path.endswith('/newshare')):
msg=htmlNewPost(self.server.baseDir,self.path,inReplyToUrl,replyToList).encode() msg=htmlNewPost(self.server.baseDir,self.path,inReplyToUrl,replyToList).encode()
self._set_headers('text/html',len(msg),cookie) self._set_headers('text/html',len(msg),cookie)