Serve stored images safely and drop committed uploads.
display.php takes the type from the image data, refuses anything else, and sends nosniff. Remove the nine uploads in graphics/tmp.
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
# Local configuration and secrets (see .env.example)
|
||||
.env
|
||||
|
||||
# Old upload directory; uploads now go to UPLOAD_DIR outside the web root
|
||||
graphics/tmp/
|
||||
|
||||
Reference in New Issue
Block a user