thoughtbot/paperclip — pull request #1006 by nzifnab (2012-08-28 21:39:34+00:00)
Title: Fix rack content_type newline

Inside of rack the variable `@env['rack.form_hash']` has the original culprit where the type is set to "image/jpeg\r". Not sure where that originates, maybe an OS-specific issue? It occurred in both Firefox and Chrome, as well as both on my Macbook (Lion) and on Heroku (cedar).

Fixes #817