- 31 Jan, 2014 1 commit
-
-
It is now a requirement for attachments to do one of three things: 1. Have a content_type validation (e.g. "image/*") 2. Have a filename validation (e.g. *.png, *.gif) 3. Explicitly *not* have one of those validations The intent is to make the default more secure, and you have to explicitly reject the security of a validation in order to not have one.
Jon Yurek committed
-
- 29 Jan, 2014 5 commits
-
-
Jon Yurek committed
-
Dan Collis-Puro committed
-
Dan Collis-Puro committed
-
Dan Collis-Puro committed
-
Jon Yurek committed
-
- 03 Jan, 2014 1 commit
-
-
AbstractAdapter wasn't delegating `binmode` or `binmode?` to the underlying @tempfile object. `binmode` is useful for cases where the Adapter object gets handed on to another library expecting an `IO` object holding image data. We ran into this with Prawn and people using `prawnto` in conjunction with Paperclip. Prawn wants to ensure the `IO` is in binmode for embedding the image data.
Matt Patterson committed
-
- 20 Dec, 2013 1 commit
-
-
Jon Yurek committed
-
- 01 Nov, 2013 1 commit
-
-
Jon Yurek committed
-
- 25 Oct, 2013 2 commits
- 28 Aug, 2013 1 commit
-
-
Base64 encoded data-uris can contain newlines, make sure we handle them correctly.
Dan Collis-Puro committed
-
- 16 Aug, 2013 2 commits
-
-
Jon Yurek committed
-
William Ross committed
-
- 18 Jul, 2013 1 commit
-
-
Marco Otte-Witte committed
-
- 16 Jul, 2013 1 commit
-
-
Jon Yurek committed
-
- 01 Feb, 2013 1 commit
-
-
The ":" is a special character in file paths passed to ImageMagick's "identify" command. Even though Cocaine (and everything else in paperclip) escapes special characters correctly, we need to strip it out of filenames to ensure identify (and probably other ImageMagick commands) can run correctly.
Dan Collis-Puro committed
-
- 07 Dec, 2012 1 commit
-
-
djcp committed
-
- 03 Nov, 2012 1 commit
-
-
* Based on rfc2822's commit ed05dc6b85f52ad88a83bc18e1986f3b75176740.
Jon Yurek committed
-
- 19 Oct, 2012 1 commit
-
-
Jon Yurek committed
-
- 07 Sep, 2012 1 commit
-
-
Rack gets a newline at the end of the content_type in certain instances: 'image/jpeg\r' which causes S3 to be unable to accept the file. Fixes #817
Nathan Benes committed
-
- 20 Jul, 2012 1 commit
-
-
This PR allows you to assign a URI object to an attachment. The attachment is downloaded and saved with a proper content type and filename based on the path of the URL.
Aditya Sanghi committed
-
- 22 Jun, 2012 2 commits
-
-
Ylan Segal committed
-
Jon Yurek committed
-
- 15 Jun, 2012 4 commits
-
-
Fixes #902
Prem Sichanugrist committed -
Prem Sichanugrist committed
-
Prem Sichanugrist committed
-
Jon Yurek committed
-
- 08 Jun, 2012 3 commits
-
-
This relates to #817
Prem Sichanugrist committed -
mankyuhan committed
-
mankyuhan committed
-
- 06 Jun, 2012 1 commit
-
-
Mike Burns committed
-
- 31 May, 2012 1 commit
-
-
Geoffrey Hichborn committed
-
- 25 May, 2012 2 commits
-
-
Andrew Pollok committed
-
would cause the best_content_type to throw an error on trying nil.content_type.
Andrew Pollok committed
-
- 04 May, 2012 1 commit
-
-
Prem Sichanugrist committed
-