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:
2026-11-30 16:51:15 +01:00
parent e1767dcd2c
commit 25030638a4
11 changed files with 417 additions and 23 deletions
+11
View File
@@ -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",