gf
This commit is contained in:
parent
351d09043d
commit
eee2f5bff5
2 changed files with 3 additions and 1 deletions
|
@ -268,7 +268,7 @@ def api_comment(v):
|
|||
marsey = loads(body.lower())
|
||||
name = marsey["name"]
|
||||
|
||||
if not marsey_regex.fullmatch(name):
|
||||
if not marsey_regex2.fullmatch(name):
|
||||
return {"error": "Invalid name!"}, 403
|
||||
|
||||
if "author" in marsey: author_id = get_user(marsey["author"]).id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue