AWS-S3
view release on metacpan or search on metacpan
Changelog for perl module AWS::S3
3.00 2026-12-01
- Security: XML escape object keys in delete_multi and the location in
add_bucket, preventing XML injection (e.g. deleting unintended objects)
- Security: bucket names are validated (letters, numbers, ".", "_" and "-"
only) so they can't change the host a request is sent to, and object keys
and list prefix/delimiter/marker values are escaped in request URLs
- Security: a TemporaryRedirect is only followed to a trusted host (the
endpoint, or an S3 host for AWS) and the request is signed again, using
the region of the new host, instead of replaying the signed request
- Security: requests are made over https by default (BREAKING: pass
secure => 0 for plain http), and LWP::Protocol::https is now required
- Security: responses containing a DOCTYPE are refused and the XML parser
no longer expands entities or loads external DTDs or network resources
- Remove the unused SigV2 signer (AWS::S3::Signer) and the dependency on
Digest::HMAC_SHA1, AWS::S3::HTTPRequest now uses a v4 signature
- Fix the code of a non-XML error response being the whole response body,
it is now a leading number or the HTTP status, so an error response with
no body is no longer treated as success
- Dependencies: require LWP 6.00 (certificate verification by default),
drop the unused JSON::XS and the test only Test::Deep from the runtime
requirements, declare the HTTP::Request/Response modules we use
2.00 2025-01-21
- Fix using AWS::S3 for Linode E3 object store (GH #20, thanks to preaction)
- Support using Log::Any for some better debugging (as above)
1.00 2025-02-11
- Start using v4 signatures (resolves GH #18, GH #17, GH #16, GH #14, GH #13, GH #7)
- Adds new session_token and region attributes to the constructor (see perldoc)
0.19 2024-01-08
- Fix "bad hostname" test may fail in presence of wildcard DNS records (GH #19)
0.18 2019-03-01
- Fix leading slashes defaults to off, see honor_leading_slashes arg
0.17 2019-03-01
- Fix leading slashes in key names (GH #12)
- Fix lack of location shouldn't set it to undef (GH #11)
0.16 2019-01-03
- Remove dependency on Iterator::Paged
0.15 2018-04-20
- More fixes for ->add_bucket. Fix an error when no location is provided or
us-east-1 is explicitly asked for. Patch by Dave Rolsky. (GH #9)
0.14 2018-04-13
- Fix sending of undefined location param in ->add_bucket (GH #9)
0.13 2017-02-06
- Add documentation for parameter 'prefix' for AWS::S3::FileIterator
- Add test coverage (GH #8, thanks to simbabque for these changes)
- Fix over encoding of characters in path (GH #6)
0.12 2016-03-07
- Fix DNS bucket name checking for non-valid DNS bucket nams (GH #4)
- Fix URI escaping for filenames to avoid infinite loop on spaces (GH #5)
0.11 2015-08-31
- Fix signed_url to URI escape the Signature param value (GH #3)
0.10 2015-06-23
- dist changes related to kwalitee (no functional changes)
0.051 2015-05-23
- default size to 0 when not set in content-length (GH #1)
( run in 0.555 second using v1.01-cache-2.11-cpan-eb134014566 )