-
Notifications
You must be signed in to change notification settings - Fork 109
Description
In the recent amazon updates, there are a couple of changes in the AWS S3 API which is failing the S3 image upload in the editor.
When we upload an image it throws an error saying Parsing failed with status as CORS error.
As per the docs, the correct URL format is:
https://<bucket-name>.s3.<region>.amazonaws.com
And the current URL formed is
https://<region>.amazonaws.com/<bucket-name>
I had a look at the minified JS which computes this as:
A.opts.imageUploadToS3 && (s = A.opts.imageUploadToS3.uploadURL ? A.opts.imageUploadToS3.uploadURL : "https://".concat(A.opts.imageUploadToS3.region, ".amazonaws.com/").concat(A.opts.imageUploadToS3.bucket)),
I believe this is a simple change and should be looked on a priority as things are breaking currently.