Hi,
get_object_url generates invalid policy for amazon s3 file when file name contains special or cyrillic characters?
Look at this link:
http://upload1.com/uploads/18 flower.jpg works fine, #1 GOON.jpg produce "SignatureDoesNotMatch"
here is source code for this image urls:
def url
connection.get_object_url("mybucket", "mypath", Time.now +
60*60)
end
def connection
Fog::Storage.new(
:provider =>
'AWS',
:aws_secret_access_key =>"secret",
:aws_access_key_id =>
"access_key_id"
)
end
Regards,
Alexey