ZF-11799: Zend_Service_Amazon_S3::putFileStream() has an undefined variable.
Description
There is an undefined variable in Zend_Service_Amazon_S3::putFileStream() (line 493).
if(!isset($meta['Content-MD5'])) { $headers['Content-MD5'] = base64_encode(md5_file($path, true)); }
I think that instead of the $headers, which doesn't actually exist, it should be the $meta.
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2011-10-26T00:36:04.000+0000
Fixed in trunk r24530 Merged to release-1.11 in r24531
Posted by Adam Lundrigan (adamlundrigan) on 2011-10-26T00:44:50.000+0000
ZF2 Pull Request: https://github.com/zendframework/zf2/pull/534