1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 01:35:02 +00:00

Add new file formats to the list of allowed formats for uploaded files:

image/avif
image/jxl

Also, lesser known image formats:

image/hief image/heic
This commit is contained in:
Starbeamrainbowlabs 2021-09-03 00:52:01 +01:00
parent 227a7ac662
commit 1f51bf31c6
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Support `page` as either a GET parameter or a POST parameter (GET takes precedence over POST)
- Preview generation: If php-imagick is not installed but required for a particular operation, return a proper error message
- File upload: If fileinfo is not installed, return a proper error message when someone attempts to upload a file
- Add `image/avif` (AVIF image), `image/jxl` (JPEG XL image), and `image/heif`/`image/heic` to `upload_allowed_file_types` (you'll need to delete your entry in `peppermint.json` to get the new updated list)
## Fixed

View file

@ -213,6 +213,9 @@
"image/png",
"image/gif",
"image/webp",
"image/avif",
"image/jxl",
"image/heif", "image/heic",
"image/svg+xml",
"video/mp4",
"video/webm",