ZF-10219: versions query string for amazon S3
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'; }
Comments
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)