summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-07-01 15:42:20 +0200
committerGitHub <noreply@github.com>2022-07-01 15:42:20 +0200
commit54e7483207343ff50d60dd5a54065df90c356943 (patch)
tree63876bfbf4fdad5d5e21ce172029bca4d4fa6507 /custom
parent7c1f18a2bb409e2ed669c5e0e6ef8abc9e1a534b (diff)
downloadgitea-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.ini2
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