mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 15:26:28 +08: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:
parent
25b39b86ae
commit
2b28abdc21
|
@ -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?:\/\/.+[^\/]$'
|
||||
|
|
Loading…
Reference in New Issue
Block a user