Issue Type: Bug Created: 2009-05-05T08:20:50.000+0000 Last Updated: 2009-05-08T13:58:38.000+0000 Status: Resolved Fix version(s): - 1.8.1 (12/May/09)
Reporter: Gianluca Sforna (giallu) Assignee: Stanislav Malyshev (stas) Tags: - Zend_Service_Amazon
Related issues: Attachments:
Right now the Amazon S3 component is not able to work on filenames/objectnames containing chars unsuitable for URL. A small test case:
include "Zend/Service/Amazon/S3.php"; $zend = new Zend_Service_Amazon_S3(key1,key2); $zend->putObject( "giallutest/this is a test", "HELLO WORLD!" );
fails with: PHP Fatal error: Uncaught exception 'Zend_Uri_Exception' with message 'Invalid URI supplied' in /home/giallu/Desktop/zend/ZendFramework-1.8.0-minimal/library/Zend/Uri/Http.php:156
The solution to this problem, as noted in: http://developer.amazonwebservices.com/connect/… is to always urlencode() the object name.
Please also note the Zend_Serivce_Amazon_S3 component is missing from this tracker...
Posted by Matthew Weier O'Phinney (matthew) on 2009-05-05T08:50:33.000+0000
Assigning to Stas
Posted by Stanislav Malyshev (stas) on 2009-05-08T13:58:36.000+0000
Have you found an issue?
See the Overview section for more details.