Add additional input validation for user creation (#11937)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b8fa36cb41
Коммит
a92c830e57
@@ -86,6 +86,8 @@ func createUser(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
user.SanitizeInput()
|
||||
|
||||
tokenId := r.URL.Query().Get("t")
|
||||
inviteId := r.URL.Query().Get("iid")
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user