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
This commit is contained in:
David Taylor 2019-05-13 11:18:24 +01:00
parent 25b39b86ae
commit 2b28abdc21

View File

@ -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?:\/\/.+[^\/]$'