master
Aevann 2023-08-08 15:04:04 +03:00
parent 9e15402841
commit 8c76addad6
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ def submit_post(v, sub=None):
return {"post_id": dup.id, "success": False}
if not execute_antispam_post_check(title, v, url):
return redirect("/notifications")
abort(403, "You have been banned for 1 day for spamming!")
if len(url) > 2048:
abort(400, "There's a 2048 character limit for URLs!")