Added content filter for max len and URLs

This commit is contained in:
2025-12-17 22:14:30 +01:00
parent 01e6e92c78
commit 37c3c8dac8
5 changed files with 39 additions and 4 deletions
+1
View File
@@ -72,6 +72,7 @@ def newentry():
return render_template('entry/create.html')
content = str(request.form["content"])
content = content.strip()
content = content[:1000]
fileattached = False