mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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?:\/\/.+[^\/]$'
|
||||
|
||||
Reference in New Issue
Block a user