diff --git a/daemon.py b/daemon.py index b83a335d..97349f5a 100644 --- a/daemon.py +++ b/daemon.py @@ -1536,7 +1536,14 @@ class PubServer(BaseHTTPRequestHandler): self.server.baseDir,self.path, \ self.server.httpPrefix, \ self.server.domainFull, - postId,postTime).encode() + postId,postTime) + if not msg: + actor= \ + self.server.httpPrefix+'://'+self.server.domainFull+ \ + self.path.split('/eventdelete')[0] + self._redirect_headers(actor+'/calendar',cookie) + return + msg=msg.encode() self._set_headers('text/html',len(msg),cookie) self._write(msg) self.server.GETbusy=False diff --git a/webinterface.py b/webinterface.py index 5214cc2c..e4672103 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3402,7 +3402,7 @@ def htmlCalendarDeleteConfirm(translate: {},baseDir: str, \ deletePostStr+=' ' deletePostStr+=' ' deletePostStr+=' ' - deletePostStr+=' ' + deletePostStr+=' ' deletePostStr+=' ' deletePostStr+='' deletePostStr+=htmlFooter()