main
Bob Mottram 2020-12-10 10:28:30 +00:00
parent 39873ede20
commit 27e2304ce1
1 changed files with 3 additions and 2 deletions

View File

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