Skip to content

Commit

Permalink
Add application/x-bzip2 mime type (bsc#1098637)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoub-belarbi committed Sep 19, 2019
1 parent e005076 commit a4969be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hawk/app/models/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ class Upload < Tableless
unless ["application/gzip",
"application/x-gzip",
"application/x-bzip",
"application/x-bzip2",
"application/x-xz",
"application/x-gz"].include? record.upload.content_type
errors.add(:upload, _("must have correct MIME type (was %s)") % record.upload.content_type)
Expand Down

0 comments on commit a4969be

Please sign in to comment.