summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-09-27 13:21:58 +0200
committerAlexis Reigel <mail@koffeinfrei.org>2018-06-05 16:20:20 +0200
commitbf27c6841c1cb6b68f67d33d6eb2de63ad8b390f (patch)
tree460a34d05f75d31bb88500fed7c3c7b38830ce70 /app/uploaders
parent0a76bcb412b6a193d30c930312ac40dc21e777e6 (diff)
downloadgitlab-ce-bf27c6841c1cb6b68f67d33d6eb2de63ad8b390f.tar.gz
send ico files with inline disposition
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/uploader_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/uploader_helper.rb b/app/uploaders/uploader_helper.rb
index fd446d31092..207928b61d0 100644
--- a/app/uploaders/uploader_helper.rb
+++ b/app/uploaders/uploader_helper.rb
@@ -1,6 +1,6 @@
# Extra methods for uploader
module UploaderHelper
- IMAGE_EXT = %w[png jpg jpeg gif bmp tiff].freeze
+ IMAGE_EXT = %w[png jpg jpeg gif bmp tiff ico].freeze
# We recommend using the .mp4 format over .mov. Videos in .mov format can
# still be used but you really need to make sure they are served with the
# proper MIME type video/mp4 and not video/quicktime or your videos won't play