Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Olly Lylo
RE: S3Interface::get_link returns full path n [ reply ]  
2009-02-25 10:52
No problem Todd, thanks for sorting it!

By: Todd Bryan
RE: S3Interface::get_link returns full path name? [ reply ]  
2009-02-25 01:45
Olly -

That was a nasty bug - thanks for reporting it. We've fixed the problem in release 1.10.0.

Todd

By: Olly Lylo
S3Interface::get_link returns full path name? [ reply ]  
2009-01-19 10:34
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.