mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 08:43:46 +08:00
0568d36133
When we added direct S3 uploads to Discourse, which use presigned URLs, we never took into account the dualstack endpoints for IPv6 on S3. This commit fixes the issue by using the dualstack endpoints for presigned URLs and requests, which are used in the get-presigned-put and batch-presign-urls endpoints used when directly uploading to S3. It also makes regular S3 requests for `put` and so on use dualstack URLs. It doesn't seem like there is a downside to doing this, but a bunch of specs needed to be updated to reflect this. |
||
---|---|---|
.. | ||
backup_file_handler_multisite_spec.rb | ||
backup_file_handler_spec.rb | ||
backuper_spec.rb | ||
database_restorer_multisite_spec.rb | ||
database_restorer_spec.rb | ||
local_backup_store_spec.rb | ||
meta_data_handler_spec.rb | ||
s3_backup_store_spec.rb | ||
shared_context_for_backup_restore.rb | ||
shared_examples_for_backup_store.rb | ||
system_interface_multisite_spec.rb | ||
system_interface_spec.rb | ||
uploads_restorer_spec.rb |