diff options
author | silverwind <me@silverwind.io> | 2022-07-01 15:42:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 15:42:20 +0200 |
commit | 54e7483207343ff50d60dd5a54065df90c356943 (patch) | |
tree | 63876bfbf4fdad5d5e21ce172029bca4d4fa6507 /custom | |
parent | 7c1f18a2bb409e2ed669c5e0e6ef8abc9e1a534b (diff) | |
download | gitea-54e7483207343ff50d60dd5a54065df90c356943.tar.gz gitea-54e7483207343ff50d60dd5a54065df90c356943.zip |
Update default allowed attachment types (#20192)
Synced the list to what is allowed on GitHub currently.
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 3646dfc71e..01f5cb6a47 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1676,7 +1676,7 @@ PATH = ;ENABLED = true ;; ;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types. -;ALLOWED_TYPES = .docx,.gif,.gz,.jpeg,.jpg,.mp4,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip +;ALLOWED_TYPES = .csv,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip ;; ;; Max size of each file. Defaults to 4MB ;MAX_SIZE = 4 |