mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
04ab7c67d8
commit
4227ab94de
|
@ -4931,6 +4931,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if '?page=' in hashtag:
|
if '?page=' in hashtag:
|
||||||
hashtag = hashtag.split('?page=')[0]
|
hashtag = hashtag.split('?page=')[0]
|
||||||
if isBlockedHashtag(baseDir, hashtag):
|
if isBlockedHashtag(baseDir, hashtag):
|
||||||
|
print('BLOCK: hashtag #' + hashtag)
|
||||||
msg = htmlHashtagBlocked(self.server.cssCache, baseDir,
|
msg = htmlHashtagBlocked(self.server.cssCache, baseDir,
|
||||||
self.server.translate).encode('utf-8')
|
self.server.translate).encode('utf-8')
|
||||||
self._login_headers('text/html', len(msg), callingDomain)
|
self._login_headers('text/html', len(msg), callingDomain)
|
||||||
|
|
Loading…
Reference in New Issue