strip metadata

This commit is contained in:
Anaïs Saraiva
2026-08-25 12:57:54 +02:00
parent 1079025ec2
commit 9b12838083
9 changed files with 952 additions and 1 deletions
+5 -1
View File
@@ -254,4 +254,8 @@ Files in `storage/` are untouched by updates and keep working.
at 48h) and are swept hourly. Deletion also requires possession of the key
(`DELETE /api/files/:id` with `X-Delete-Key`).
- Uploads are rejected with `503 try again later` when the storage filesystem is
more than 50% full (configurable via `MAX_STORAGE_USAGE`).
more than 50% full (configurable via `MAX_STORAGE_USAGE`).
- Embedded metadata (EXIF/GPS/author/comments, video `moov`/`udta`, EBML
`Tags`, AVI `INFO`) is stripped server-side by default for recognized image
and video formats. Unparseable or unrecognized files are stored untouched
(never corrupted). Disable with `STRIP_METADATA=0`.