Zend Framework

versions query string for amazon S3

Details

  • Type: Patch Patch
  • Status: Resolved Resolved
  • Priority: Major 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'; }

Issue Links

Activity

Hide
Enrico Zimuel added a comment -

Fixed in trunk (commit 24082)

Show
Enrico Zimuel added a comment - Fixed in trunk (commit 24082)
Hide
Enrico Zimuel added a comment -

Fixed in branches/release-1.11 (commit 24083)

Show
Enrico Zimuel added a comment - Fixed in branches/release-1.11 (commit 24083)

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: