Issues

ZF-11799: Zend_Service_Amazon_S3::putFileStream() has an undefined variable.

Issue Type: Bug Created: 2011-10-06T10:14:13.000+0000 Last Updated: 2011-10-26T00:44:50.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: Mordehai German (hillel) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Service_Amazon

Related issues: Attachments:

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts