Implemented: editor uploads are constrained to safe image files inside
the upload tree, and public form submissions are size-bounded and rate-limited
This commit is contained in:
@@ -35,6 +35,17 @@ return [
|
||||
],
|
||||
"uniqueKeys" => [],
|
||||
],
|
||||
"submission_limits" => [
|
||||
"columns" => [
|
||||
"formId" => "int NOT NULL",
|
||||
"ipHash" => "char(64) NOT NULL",
|
||||
"startedAt" => "int unsigned NOT NULL",
|
||||
"submissions" => "int unsigned NOT NULL",
|
||||
],
|
||||
"uniqueKeys" => [
|
||||
"form_ip" => ["formId", "ipHash"],
|
||||
],
|
||||
],
|
||||
"definitions" => [
|
||||
"columns" => [
|
||||
"name" => "varchar(255) NOT NULL",
|
||||
|
||||
Reference in New Issue
Block a user