mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 01:23:10 +08:00

This is unnecessary, as when the temporary key is created in S3Store we already include the s3_bucket_folder_path, and the key will always start with temp/ to assist with lifecycle rules for multipart uploads. This was affecting Discourse.store.object_from_path, Discourse.store.signed_url_for_path, and possibly others. See also: e0102a5