amazon-s3-php-class icon indicating copy to clipboard operation
amazon-s3-php-class copied to clipboard

Only set the FOLLOWLOCATION curl opt if we are not in safe mode

Open leto opened this issue 13 years ago • 2 comments

This small patch allows the S3 library to be used in safe mode. Without this patch, it cannot be used in safe mode because the FOLLOWLOCATION curl opt is only allowed when not in safe mode.

leto avatar Apr 12 '12 18:04 leto

Safe mode isn't the only situation where setting FOLLOWLOCATION will produce a warning. A better solution is provided here: https://github.com/tpyo/amazon-s3-php-class/pull/21

noahm avatar Apr 29 '12 14:04 noahm

Hope this pull request gets merged soon, just hit the same issue.

deviarte avatar Nov 12 '13 11:11 deviarte