diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-22 03:10:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-22 03:10:19 +0300 |
commit | 4d90876cc6b35bc418ccb6ea2536581289b272fb (patch) | |
tree | a74ea127264fa7deaaf4f1067b94687541343e8c /lib/gitlab/blob_helper.rb | |
parent | 61d7d07541aafcf49a97159a6048cf6847adbd51 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/blob_helper.rb')
-rw-r--r-- | lib/gitlab/blob_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/blob_helper.rb b/lib/gitlab/blob_helper.rb index 9e4ea934edb..25d79c1085a 100644 --- a/lib/gitlab/blob_helper.rb +++ b/lib/gitlab/blob_helper.rb @@ -47,7 +47,7 @@ module Gitlab end def image? - ['.png', '.jpg', '.jpeg', '.gif', '.svg', '.webp'].include?(extname.downcase) + ['.png', '.jpg', '.jpeg', '.gif', '.svg', '.bmp', '.webp'].include?(extname.downcase) end # Internal: Lookup mime type for extension. |