thoughtbot/paperclip — Issue #668: latest paperclip, s3 and fog generates bad image urls
Author: ippa
Created: 2011-12-07 23:52:59+00:00
State: open

Switching from aws-s3 + patch (for eu-buckets to work) to fog.

Using the same ":path => "images/:id/:style.:extension" as before it seems as fog encodes the urls,making them not work.

Using the standard viewhelper to get the url, in my case image.data.url(:original) ...

While I before got a working:
https://foo.s3.amazonaws.com/images/132/original.jpg?1301054456

I now get a nonworking (AccessDenied):
https://foo.s3.amazonaws.com/images%252F132%252Foriginal.jpg?1301054456

Note, the "foo"-part is made up.. :).
I guess this might be related to https://github.com/thoughtbot/paperclip/issues/661