mirror of https://gitlab.com/bashrc2/epicyon
Debug for malformed ciphertext
parent
d88f16f089
commit
ef7d283e04
3
inbox.py
3
inbox.py
|
@ -3179,7 +3179,8 @@ def _valid_post_content(base_dir: str, nickname: str, domain: str,
|
|||
'allow comments: ' + original_post_id)
|
||||
return False
|
||||
if invalid_ciphertext(message_json['object']['content']):
|
||||
print('REJECT: malformed ciphertext in content')
|
||||
print('REJECT: malformed ciphertext in content ' +
|
||||
message_json['object']['content'])
|
||||
return False
|
||||
if debug:
|
||||
print('ACCEPT: post content is valid')
|
||||
|
|
Loading…
Reference in New Issue