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-28 18:25:41 +01:00
parent cf721b04b0
commit 345a99cf32
11 changed files with 417 additions and 23 deletions
+1
View File
@@ -27,6 +27,7 @@
RewriteRule ^themes/([^/]+)/public/(.*)$ themes/$1/public/$2 [L]
# Allow direct access to uploaded files with URL format: /uploads/{filepath;,}
RewriteRule ^uploads/.*\.(?:php[0-9]*|phtml|phar)(?:/|$) - [F,NC]
RewriteRule ^uploads/(.*)$ uploads/$1 [L]
# Rewrite all remaining requests to index.php