forked from indymedia/epicyon
Extra arguments
parent
72192282dd
commit
621763b996
10
daemon.py
10
daemon.py
|
@ -2330,6 +2330,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.path.endswith('/newreport') or \
|
self.path.endswith('/newreport') or \
|
||||||
self.path.endswith('/newquestion') or \
|
self.path.endswith('/newquestion') or \
|
||||||
self.path.endswith('/newshare')):
|
self.path.endswith('/newshare')):
|
||||||
|
nickname=getNicknameFromActor(self.path)
|
||||||
msg=htmlNewPost(self.server.mediaInstance, \
|
msg=htmlNewPost(self.server.mediaInstance, \
|
||||||
self.server.translate, \
|
self.server.translate, \
|
||||||
self.server.baseDir, \
|
self.server.baseDir, \
|
||||||
|
@ -2337,7 +2338,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.path,inReplyToUrl, \
|
self.path,inReplyToUrl, \
|
||||||
replyToList, \
|
replyToList, \
|
||||||
shareDescription, \
|
shareDescription, \
|
||||||
replyPageNumber).encode()
|
replyPageNumber, \
|
||||||
|
nickname,self.server.domain).encode()
|
||||||
self._set_headers('text/html',len(msg),cookie)
|
self._set_headers('text/html',len(msg),cookie)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
self.server.GETbusy=False
|
self.server.GETbusy=False
|
||||||
|
@ -5125,7 +5127,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.httpPrefix, \
|
self.server.httpPrefix, \
|
||||||
reportPath,None, \
|
reportPath,None, \
|
||||||
[optionsActor],None, \
|
[optionsActor],None, \
|
||||||
pageNumber).encode()
|
pageNumber, \
|
||||||
|
chooserNickname,self.server.domain).encode()
|
||||||
self._set_headers('text/html',len(msg),cookie)
|
self._set_headers('text/html',len(msg),cookie)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
|
@ -5166,7 +5169,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.baseDir, \
|
self.server.baseDir, \
|
||||||
self.server.httpPrefix, \
|
self.server.httpPrefix, \
|
||||||
reportPath,None,[], \
|
reportPath,None,[], \
|
||||||
postUrl,pageNumber).encode()
|
postUrl,pageNumber, \
|
||||||
|
chooserNickname,self.server.domain).encode()
|
||||||
self._set_headers('text/html',len(msg),cookie)
|
self._set_headers('text/html',len(msg),cookie)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
|
|
Loading…
Reference in New Issue