From ee73e5866c9598711477483de38c3fa1e2c0f8f9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 3 Nov 2019 09:39:02 +0000 Subject: [PATCH] Replace codes --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index aaf1e567..26952e8b 100644 --- a/daemon.py +++ b/daemon.py @@ -731,6 +731,7 @@ class PubServer(BaseHTTPRequestHandler): # remove a shared item if htmlGET and '?rmshare=' in self.path: shareName=self.path.split('?rmshare=')[1] + shareName=shareName.replace('%20',' ').replace('%40','@').replace('%3A',':').replace('%23','#') actor=self.server.httpPrefix+'://'+self.server.domainFull+self.path.split('?rmshare=')[0] msg=htmlRemoveSharedItem(self.server.translate,self.server.baseDir,actor,shareName).encode() if not msg: