mirror of https://gitlab.com/bashrc2/epicyon
Extra check
parent
615212a54f
commit
032686e802
|
@ -14903,7 +14903,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.debug)
|
self.server.debug)
|
||||||
|
|
||||||
# emoji reaction from the web interface icon
|
# emoji reaction from the web interface icon
|
||||||
if authorized and htmlGET and '?react=' in self.path:
|
if authorized and htmlGET and \
|
||||||
|
'?react=' in self.path and \
|
||||||
|
'?actor=' in self.path:
|
||||||
self._reactionButton(callingDomain, self.path,
|
self._reactionButton(callingDomain, self.path,
|
||||||
self.server.baseDir,
|
self.server.baseDir,
|
||||||
self.server.httpPrefix,
|
self.server.httpPrefix,
|
||||||
|
@ -14922,7 +14924,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.debug)
|
self.server.debug)
|
||||||
|
|
||||||
# undo an emoji reaction from the web interface icon
|
# undo an emoji reaction from the web interface icon
|
||||||
if authorized and htmlGET and '?unreact=' in self.path:
|
if authorized and htmlGET and \
|
||||||
|
'?unreact=' in self.path and \
|
||||||
|
'?actor=' in self.path:
|
||||||
self._undoReactionButton(callingDomain, self.path,
|
self._undoReactionButton(callingDomain, self.path,
|
||||||
self.server.baseDir,
|
self.server.baseDir,
|
||||||
self.server.httpPrefix,
|
self.server.httpPrefix,
|
||||||
|
|
Loading…
Reference in New Issue