Skip to content
Snippets Groups Projects
Select Git revision
  • ag-remove-ignore-column-geo-event
  • 512606-create-approval-rule-user-groups-users-joins
  • bm/update-ruby-default
  • tachyons_cleanup_pat_organization_filter
  • psi-custom-field-token-issues
  • gkatz_audit_vuln_severity_override
  • tachyons_cleanup_scim_ff
  • smriti-510344/add_group_setting_enforce_dpop_to_manage_endpoints
  • kassio/work-items-user-preferences-graphql
  • master default protected
  • 470818-slash-command
  • aalakkad-migrate-usage-quotas-seats-to-apollo-statistics-card
  • psi-custom-field-feature-helpers
  • 519958-pipeline-inputs-endpoints-1
  • 470699-standards-adhernce-v2-api-aggregated
  • 514864-calculate-additional-series-for-dora-metrics
  • jnutt/document-tmp-path
  • fix-db-structure
  • pedropombeiro/504963/replace-ci_runners-with-partitioned-table
  • bl-update-LFS-rate-limits
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
  • v17.7.0-rc42-ee protected
  • v17.4.6-ee protected
  • v17.5.4-ee protected
40 results

favicon_uploader.rb

  • Alex Pooley's avatar
    3ce4257d
    Replace file type check with content whitelist · 3ce4257d
    Alex Pooley authored
    File type check results in user inconvenience so we moved to a content
    whitelist check to complement existing extension checks.
    
    Created a ContentTypeWhitelist to bring forward the whitelist feature
    available in Carrierwave 2 but not in the current 1.3.1 version.
    
    Applied the ContentTypeWhitelist to the GitlabUploader base class.
    
    DesignV432x230Uploader specs confirm patch improvements function where
    they previously did not.
    3ce4257d
    History
    Replace file type check with content whitelist
    Alex Pooley authored
    File type check results in user inconvenience so we moved to a content
    whitelist check to complement existing extension checks.
    
    Created a ContentTypeWhitelist to bring forward the whitelist feature
    available in Carrierwave 2 but not in the current 1.3.1 version.
    
    Applied the ContentTypeWhitelist to the GitlabUploader base class.
    
    DesignV432x230Uploader specs confirm patch improvements function where
    they previously did not.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.