main
Bob Mottram 2021-12-14 10:11:10 +00:00
parent 5d1f7212e7
commit f8b62c5388
1 changed files with 3 additions and 1 deletions

View File

@ -2184,7 +2184,9 @@ def _validPostContent(baseDir: str, nickname: str, domain: str,
"""Is the content of a received post valid? """Is the content of a received post valid?
Check for bad html Check for bad html
Check for hellthreads Check for hellthreads
Check number of tags is reasonable Check that the language is understood
Check if it's a git patch
Check number of tags and mentions is reasonable
""" """
if not hasObjectDict(messageJson): if not hasObjectDict(messageJson):
return True return True