Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-05 12:12:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-05 12:12:06 +0300
commit0c5dab41b6baec548aaea06cb9b545c87b489678 (patch)
tree85703a98675f4bcf4fdcd145f6bf1891b58e9c8f /app/services/design_management
parentacda833a93d5372cdb11b50d01dc14620a451496 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/design_management')
-rw-r--r--app/services/design_management/generate_image_versions_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/design_management/generate_image_versions_service.rb b/app/services/design_management/generate_image_versions_service.rb
index e56d163c461..3ff239b59cc 100644
--- a/app/services/design_management/generate_image_versions_service.rb
+++ b/app/services/design_management/generate_image_versions_service.rb
@@ -43,7 +43,7 @@ module DesignManagement
end
# Skip attempting to process images that would be rejected by CarrierWave.
- return unless DesignManagement::DesignV432x230Uploader::MIME_TYPE_WHITELIST.include?(raw_file.content_type)
+ return unless DesignManagement::DesignV432x230Uploader::MIME_TYPE_ALLOWLIST.include?(raw_file.content_type)
# Store and process the file
action.image_v432x230.store!(raw_file)