Open neojp opened 1 year ago
When trying to update the ACL on my images, I noticed the thumbnails weren't getting updated. While going through the rabbit hole I noticed the S3 batch commands were sending the following keys:
array (size=5) 0 => string 's3://bucket-name/uploads/2023/02/unsplash_waxDxYM2XI4.jpg' (length=63) 1 => string 's3://bucket-name/uploadsunsplash_waxDxYM2XI4-300x223.jpg' (length=62) 2 => string 's3://bucket-name/uploadsunsplash_waxDxYM2XI4-1024x760.jpg' (length=63) 3 => string 's3://bucket-name/uploadsunsplash_waxDxYM2XI4-150x150.jpg' (length=62) 4 => string 's3://bucket-name/uploadsunsplash_waxDxYM2XI4-768x570.jpg' (length=62)
And they should be like this:
array (size=5) 0 => string 's3://bucket-name/uploads/2023/02/unsplash_waxDxYM2XI4.jpg' (length=63) 1 => string 's3://bucket-name/uploads/2023/02/unsplash_waxDxYM2XI4-300x223.jpg' (length=71) 2 => string 's3://bucket-name/uploads/2023/02/unsplash_waxDxYM2XI4-1024x760.jpg' (length=72) 3 => string 's3://bucket-name/uploads/2023/02/unsplash_waxDxYM2XI4-150x150.jpg' (length=71) 4 => string 's3://bucket-name/uploads/2023/02/unsplash_waxDxYM2XI4-768x570.jpg' (length=71)
When trying to update the ACL on my images, I noticed the thumbnails weren't getting updated. While going through the rabbit hole I noticed the S3 batch commands were sending the following keys:
And they should be like this: