V10: AllowedUploadFiles appsetting not working (#13408)
* Add new Settings * Use new settings instead of old ones * Implement AllowedUploadedFiles value to be copied to AllowedUplayedFileExtensions * Obsolete old settings * Rename DisallowedUploadFileExtensions * Implement same fix for DisallowedUploadFiles * Use new settings for backoffice server variables * Update the correct setting Co-authored-by: Zeegaan <nge@umbraco.dk>
This commit is contained in:
@@ -543,11 +543,11 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
|
||||
},
|
||||
{
|
||||
"disallowedUploadFiles",
|
||||
string.Join(",", _contentSettings.DisallowedUploadFiles)
|
||||
string.Join(",", _contentSettings.DisallowedUploadedFileExtensions)
|
||||
},
|
||||
{
|
||||
"allowedUploadFiles",
|
||||
string.Join(",", _contentSettings.AllowedUploadFiles)
|
||||
string.Join(",", _contentSettings.AllowedUploadedFileExtensions)
|
||||
},
|
||||
{
|
||||
"maxFileSize",
|
||||
|
||||
Reference in New Issue
Block a user