Skip to content

S3 PutObject URI encodes key? #111

@dnmfarrell

Description

@dnmfarrell

Does PutObject() URI encode the key string? These files are being uploaded to S3 with the key containing percent encoded characters:

my $output = $s3->PutObject(
  Bucket  => $bucket,
  Key     => 'example picture.jpg',
  ACL     => 'public-read',
  Body    => $data,
); 

example picture.jpg is actually uploaded to S3 as example%20picture.jpg. Which means normal paths to it don't work because the URI becomes: example%2520picture.jpg

Not sure if this is a Paws issue or an AWS one 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions