mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-21 16:13:00 +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:
parent
227a7ac662
commit
1f51bf31c6
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue