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

Fixed in trunk (commit 24082)

Fixed in branches/release-1.11 (commit 24083)