Changes for version 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

Documentation

Modules

Lightweight interface to Amazon S3 (Simple Storage Service)
Object representation of S3 Buckets
A single file in Amazon S3
Easily access and iterate through your S3 files.
An 'owner' object in Amazon S3.
Create a version4 signature for Amazon Web Services

Provides

in lib/AWS/S3/HTTPRequest.pm
in lib/AWS/S3/Request/CreateBucket.pm
in lib/AWS/S3/Request/DeleteBucket.pm
in lib/AWS/S3/Request/DeleteFile.pm
in lib/AWS/S3/Request/DeleteMulti.pm
in lib/AWS/S3/Request/GetBucketAccessControl.pm
in lib/AWS/S3/Request/GetBucketLocationConstraint.pm
in lib/AWS/S3/Request/GetBucketPolicy.pm
in lib/AWS/S3/Request/GetFileContents.pm
in lib/AWS/S3/Request/GetFileInfo.pm
in lib/AWS/S3/Request/GetPreSignedUrl.pm
in lib/AWS/S3/Request/ListAllMyBuckets.pm
in lib/AWS/S3/Request/ListBucket.pm
in lib/AWS/S3/Request/SetBucketAccessControl.pm
in lib/AWS/S3/Request/SetBucketPolicy.pm
in lib/AWS/S3/Request/SetFileContents.pm
in lib/AWS/S3/ResponseParser.pm
in lib/AWS/S3/Roles/Bucket.pm
in lib/AWS/S3/Roles/BucketAction.pm
in lib/AWS/S3/Roles/Request.pm
in lib/AWS/S3/Types.pm