S3 File System CORS Upload
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
This module is a fork of AmazonS3 CORS Upload, re-written to work with the S3 File System module, rather than AmazonS3.
This module requires S3 File System v2.x.
You must install the jQuery Update module and set it to use jQuery v1.5 or later. Otherwise, the CORS uploads will fail.
To configure your S3 bucket so that it will accept CORS uploads, go to the admin/config/media/s3fs/cors page on your admin site, fill in the "CORS Origin" field with your site's domain name, and submit it.
Known Issues
For the moment, only s3:// files are supported. public:// and private:// takeover does not yet work with this module.
Unfortunately, CORS uploads are not supported in Internet Explorer versions before IE 10. This means that any user who has an older version of IE will be unable to upload files through the CORS Upload widget. This limitation is due to the double-whammy of IE 9 and below's non-existent support for direct AJAX file uploads, combined with its overly restrictive file input security features.
(Drupal-7) If your Drupal site is installed in a subdirectory of your server, the URLs used by the Javascript for its AJAX endpoints will be wrong. If you'd like to contribute to a fix for this problem, please see this ticket on the issue queue.
