Details
-
Type:
Patch
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.10.6
-
Fix Version/s: 1.11.7
-
Component/s: Zend_Service_Amazon
-
Labels:None
-
Tags:
Description
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';
}
Fixed in trunk (commit 24082)