This commit is contained in:
bashrc committed 2020-11-25 11:11:03 +00:00
1 parent 04ab7c67d8
commit 4227ab94de
1 file changed
+1
+1
View File
@@ -4931,6 +4931,7 @@ class PubServer(BaseHTTPRequestHandler):
if '?page=' in hashtag:
hashtag = hashtag.split('?page=')[0]
if isBlockedHashtag(baseDir, hashtag):
print('BLOCK: hashtag #' + hashtag)
msg = htmlHashtagBlocked(self.server.cssCache, baseDir,
self.server.translate).encode('utf-8')
self._login_headers('text/html', len(msg), callingDomain)