1. 22 Dec, 2015 4 commits
  2. 02 Dec, 2015 5 commits
  3. 25 Nov, 2015 1 commit
  4. 22 Nov, 2015 1 commit
  5. 21 Nov, 2015 1 commit
  6. 20 Nov, 2015 1 commit
  7. 19 Nov, 2015 4 commits
  8. 18 Nov, 2015 1 commit
  9. 17 Nov, 2015 3 commits
  10. 16 Nov, 2015 3 commits
  11. 15 Nov, 2015 8 commits
  12. 12 Nov, 2015 1 commit
  13. 10 Nov, 2015 1 commit
  14. 23 Oct, 2015 1 commit
  15. 22 Oct, 2015 2 commits
  16. 21 Oct, 2015 2 commits
  17. 09 Oct, 2015 1 commit
    • Output shorter but still useful error message · 8339e0fc
      Before the error message was sometimes millions of characters long.
      
      > [paperclip] Content Type Spoof: Filename a.csv
      > (application/octet-stream from Headers,
      > [#<MIME::Type::Columnar:0x007f9f90f89fa8
      > @container=#<MIME::Types:0x007f9f90b09d98 ... snip millions of
      > characters of output here ...>], @content_type="text/csv",
      > @raw_media_type="text", @raw_sub_type="csv", @simplified="text/csv",
      > @i18n_key="text.csv", @media_type="text", @sub_type="csv",
      > @extensions=["csv"]>] from Extension), content type discovered from
      > file command: application/zip. See documentation to allow this
      > combination.
      
      Now becomes:
      
      > [paperclip] Content Type Spoof: Filename a.csv
      > (application/octet-stream from Headers,
      > ["text/comma-separated-values", "text/csv"] from Extension), content
      > type discovered from file command: application/zip. See documentation
      > to allow this combination.
      
      [fixes #2017]
      Andy Hartford committed