magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.53k stars 9.31k forks source link

Issue when configure remote storage with prefix #39294

Open kphk opened 5 hours ago

kphk commented 5 hours ago

https://github.com/magento/magento2/blob/5a2037c35de89ce2c50e230164ff3ea7b67ac127/app/code/Magento/AwsS3/Driver/AwsS3Factory.php#L159

This will result the $objectUrl https://<bucket>.s3.<region>.amazonaws.com<prefix>/

Expected result should be https://<bucket>.s3.<region>.amazonaws.com/<prefix>/

m2-assistant[bot] commented 5 hours ago

Hi @kphk. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.