Hi
I'm using RightAws::S3Interface::get_link to return a link to a file which, e.g.:
s3.get_link('my-bucket', 'files/1/filename.pdf')
This works fine, but the forward slashes in the resulting link are encoded as %2F which means that when I click on the link in my browser the file is saved as 'files_1_filename.pdf' rather than my preferred 'filename.pdf', e.g:
https://my-bucket.s3.amazonaws.com:443/files%2F1%2Ffilename.pdf
Is it possible to prevent this encoding, or do I have to do it manually?
Many thanks.
|