FIX: Allow underscores in s3_upload_bucket setting

FIX: Allow underscores in s3_upload_bucket setting

Underscores are not allowed in s3 bucket names, but they should be allowed in the subfolder name

diff --git a/config/site_settings.yml b/config/site_settings.yml
index 7162073..d513c6b 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -1089,7 +1089,7 @@ files:
     shadowed_by_global: true
   s3_upload_bucket:
     default: ""
-    regex: '^[a-z0-9\-\/]+$' # can't use '.' when using HTTPS
+    regex: '^[a-z0-9\-\/_]+$' # can't use '.' when using HTTPS
   s3_endpoint:
     default: ""
     regex: '^https?:\/\/.+[^\/]$'

GitHub sha: 2b28abdc

1 Like