All users

merge-requests/8/head
Bob Mottram 2020-12-10 10:33:58 +00:00
parent 27e2304ce1
commit 2234b67059
1 changed files with 2 additions and 3 deletions

View File

@ -11013,7 +11013,7 @@ class PubServer(BaseHTTPRequestHandler):
blockDomain = urllib.parse.unquote_plus(blockDomain.strip())
if '?' in blockDomain:
blockDomain = blockDomain.split('?')[0]
addGlobalBlock(self.server.baseDir, nickname, '*@' + blockDomain)
addGlobalBlock(self.server.baseDir, '*', blockDomain)
self.server.GETbusy = False
msg = \
htmlAccountInfo(self.server.cssCache,
@ -11046,8 +11046,7 @@ class PubServer(BaseHTTPRequestHandler):
searchHandle = urllib.parse.unquote_plus(searchHandle)
blockDomain = blockDomain.split('?handle=')[0]
blockDomain = urllib.parse.unquote_plus(blockDomain.strip())
removeGlobalBlock(self.server.baseDir, nickname,
'*@' + blockDomain)
removeGlobalBlock(self.server.baseDir, '*', blockDomain)
self.server.GETbusy = False
msg = \
htmlAccountInfo(self.server.cssCache,