ZF-10219: versions query string for amazon S3

Issue Type: Patch Created: 2010-07-23T22:50:01.000+0000 Last Updated: 2011-05-30T10:53:45.000+0000 Status: Resolved Fix version(s): - 1.11.7 (02/Jun/11)

Reporter: Jack Qiao (jack000) Assignee: Enrico Zimuel (zimuel) Tags: - Zend_Service_Amazon

Related issues: - ZF-10218



the addSignature function in S3.php already supports several query variables - ?acl, ?torrent, etc:

$sig_str .= '/'.parse_url($path, PHP_URL_PATH); if (strpos($path, '?location') !== false) { $sig_str .= '?location'; } else if (strpos($path, '?acl') !== false) { $sig_str .= '?acl'; } else if (strpos($path, '?torrent') !== false) { $sig_str .= '?torrent'; }

the only thing that is missing is ?versions

patch: else if (strpos($path, '?versions') !== false) { $sig_str .= '?versions'; }


Posted by Enrico Zimuel (zimuel) on 2011-05-30T10:51:39.000+0000

Fixed in trunk (commit 24082)

Posted by Enrico Zimuel (zimuel) on 2011-05-30T10:53:45.000+0000

Fixed in branches/release-1.11 (commit 24083)

Have you found an issue?

See the Overview section for more details.


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

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