- 27 Jul, 2018 2 commits
-
-
Mike Burns committed
-
The 4 byte limit is starting to wrap around; some complaints are being seen online, e.g. https://stackoverflow.com/questions/34477248/rails-paperclip-rangeerror/47999887#47999887 . Use `#sql_type` instead of `#type` in the tests. The `#type` is the category -- string, integer, datetime -- but the `#sql_type` is the storage specifics -- `TEXT`, `VARCHAR`, `BIGINT`, `DATE. Switch to the `#sql_type` so we can be sure it's being stored correctly.
Alen Zamanyan committed
-
- 25 May, 2018 1 commit
-
-
While using the Paperclip gem, we noticed during some ad-hoc testing that if you do not supply an extension when uploading a file, Paperclip effectively skipped it's spoofing check, which allowed potentially dangerous files to slip through into your application. This addresses that by moving the checks around a little bit and only testing against the extension when there is one.
George Walters II committed
-
- 18 May, 2018 1 commit
-
-
Encountered an issue where the URI was returning header with content-disposition where the filename value wasn't enclosed in the double quotes. Turns out that this is a valid grammar according to RFC6266. Also made the logic more robust to account for spaces and uppercase letters.
Yves Riel committed
-
- 09 Mar, 2018 2 commits
- 30 Jan, 2018 1 commit
-
-
* Ruby 2.4.0 compatibility (doen't use Fixnum anymore) * Fix typo * Use Integer instead of 0.class
Georg Ledermann committed
-
- 25 Jan, 2018 1 commit
-
-
[ci skip]
Mike Burns committed
-
- 23 Jan, 2018 1 commit
-
-
This is a year in the making, with a security patch motivating it. [ci skip]
Mike Burns committed
-
- 28 Aug, 2016 1 commit
-
-
[Amazon S3 Transfer Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) enables fast, easy, and secure transfers of files over long distances between your client and an S3 bucket. And [aws-sdk](https://github.com/aws/aws-sdk-ruby) has allowed us to enable this feature in version 2.3.0 (more detail is [here](https://github.com/aws/aws-sdk-ruby/pull/1163)). You can now pass a configuration option (:use_accelerate_endpoint) when config Paperclip with S3. You can enable the [Amazon S3 Transfer Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) by set this option: ```:use_accelerate_endpoint => true``` [fixes #2291]
Dat committed
-
- 24 Aug, 2016 1 commit
-
-
Adapters now accept an options parameter, that currently specifies the type of hash digest to use. The default value remains MD5, but can be specified to be any OpenSSL-supported digest. The specs are modified to reflect that. The task just reassigns all of the attachments, thereby regenerating their fingerprints.
Bart committed
-
- 19 Aug, 2016 3 commits
-
-
[ci skip]
Tute Costa committed -
Update NEWS file. [ci skip]
Tute Costa committed -
Tute Costa committed
-
- 23 Jul, 2016 1 commit
-
-
- The uri io adapter now seeks for the content-disposition header if this is pressent the value filename is taken instead of the last path segment for the resource file name - Fix style comments - Applied the Tute Costa refactor to URI Adapter. - Added entry to the NEWS file. - Removed editor tracking file - Fix test cases
Jonathan Garay committed
-
- 01 Jul, 2016 1 commit
-
-
Update NEWS file. [ci skip]
Tute Costa committed
-
- 16 Jun, 2016 1 commit
-
-
* Add `read_timeout` option to `UriAdapter#download_content` method * Default `read_timeout` is `nil` * Update NEWS
Sergey Novikov committed
-
- 24 May, 2016 1 commit
-
-
[ci skip]
Emil Sågfors committed
-
- 18 May, 2016 1 commit
-
-
Excessive logging can fill up disk space and become a denial of service attack, see https://cwe.mitre.org/data/definitions/779.html
Bart de Water committed
-
- 10 May, 2016 1 commit
-
-
Tute Costa committed
-
- 09 May, 2016 1 commit
-
-
[fixes #1932]
Piotr Szal committed
-
- 30 Apr, 2016 1 commit
-
-
change 'show view' to 'view helpers'
jmsoper committed
-
- 12 Apr, 2016 1 commit
-
-
Update NEWS. [ci skip]
Tute Costa committed
-
- 30 Mar, 2016 1 commit
-
-
`Paperclip::Storage::Fog#host_name_for_directory` assumes a String-like object is set and doesn't check if `@options[:fog_directory]` is callable, while `Paperclip::Storage::Fog#directory` does. This extracts a new method with the condition and refactors the other two methods to call it. Fixes #2018, #2093.
Thomas Ingram committed
-
- 23 Mar, 2016 2 commits
-
-
Update NEWS. [fixes #2134] [ci skip]
ycohn committed -
We found that uploading large files to S3 would result in a socket error ("connection reset by peer") occasionally and lately much more consistently. In researching this I saw that many people got this error when uploading too large of a file without multipart chunking. I would have assumed fog did this automatically but the default chunk size may be too high. In order to address this I wanted to drop the chunk size to 100MB. Rather than hard-code this I opted to expose a `fog_option` configuration option that lets me pass any additional options I want to the fog's `#create` call. This is similar to the `fog_attributes` option implemented in CarrierWave which [addresses the same problem](http://stackoverflow.com/a/11867978/201911). We've been running this now for a week in production and it seems to resolve the issue. https://github.com/thoughtbot/paperclip/pull/2135
Jeremy Wadsack committed
-
- 12 Mar, 2016 1 commit
-
-
Related with https://github.com/thoughtbot/paperclip/issues/2122 [ci skip]
Tute Costa committed
-
- 26 Feb, 2016 1 commit
-
- 21 Oct, 2015 1 commit
-
-
[ci skip]
Tute Costa committed
-
- 10 Sep, 2015 1 commit
-
-
Removes note for running paperclip in EOL'd version of Rails (2.3).
Tute Costa committed
-
- 24 Aug, 2015 1 commit
-
-
[closes #1966]
Isaac Betesh committed
-
- 18 Jun, 2015 1 commit
-
-
[ci skip]
Tute Costa committed
-
- 17 Jun, 2015 1 commit
-
-
[ci skip]
Tute Costa committed
-
- 05 Jun, 2015 2 commits
-
-
For the full details of what is included in this release, check out NEWS. [fixes #1875]
maclover7 committed -
Thanks to MORI Shingo of DeNA Co., Ltd. for reporting this. There is an issue where if an HTML file is uploaded with a .html extension, but the content type is listed as being `image/jpeg`, this will bypass a validation checking for images. But it will also pass the spoof check, because a file named .html and containing actual HTML passes the spoof check. This change makes it so that we also check the supplied content type. So even if the file contains HTML and ends with .html, it doesn't match the content type of `image/jpeg` and so it fails.
Jon Yurek committed
-
- 23 Dec, 2014 1 commit
-
-
typo! :nails:
Aditya Sanghi committed
-
- 09 Dec, 2014 1 commit
-
-
Jon Yurek committed
-
- 08 Jul, 2014 1 commit
-
-
Jon Yurek committed
-
- 22 Feb, 2014 1 commit
-
-
Joe Lencioni committed
-
- 21 Feb, 2014 1 commit
-
-
Jon Yurek committed
-