main
Bob Mottram 2022-07-10 21:02:17 +01:00
parent 4dc62cfb8e
commit 94ff176452
1 changed files with 3 additions and 0 deletions

View File

@ -4978,6 +4978,9 @@ class PubServer(BaseHTTPRequestHandler):
fields = \ fields = \
extract_text_fields_in_post(post_bytes, boundary, debug) extract_text_fields_in_post(post_bytes, boundary, debug)
print('hashtag category POST bytes: ' + str(post_bytes))
print('hashtag category POST fields: ' + str(fields))
if fields.get('hashtagCategory'): if fields.get('hashtagCategory'):
category_str = fields['hashtagCategory'].lower() category_str = fields['hashtagCategory'].lower()
if not is_blocked_hashtag(base_dir, category_str) and \ if not is_blocked_hashtag(base_dir, category_str) and \