diff --git a/src/Umbraco.Cms.Api.Management/OpenApi.json b/src/Umbraco.Cms.Api.Management/OpenApi.json index c02287a77a..3751bfcf7a 100644 --- a/src/Umbraco.Cms.Api.Management/OpenApi.json +++ b/src/Umbraco.Cms.Api.Management/OpenApi.json @@ -43891,7 +43891,7 @@ }, "maxFileSize": { "type": "integer", - "format": "int32", + "format": "int64", "nullable": true } }, diff --git a/src/Umbraco.Cms.Api.Management/ViewModels/TemporaryFile/TemporaryFileConfigurationResponseModel.cs b/src/Umbraco.Cms.Api.Management/ViewModels/TemporaryFile/TemporaryFileConfigurationResponseModel.cs index 369f6fa756..d544b89286 100644 --- a/src/Umbraco.Cms.Api.Management/ViewModels/TemporaryFile/TemporaryFileConfigurationResponseModel.cs +++ b/src/Umbraco.Cms.Api.Management/ViewModels/TemporaryFile/TemporaryFileConfigurationResponseModel.cs @@ -8,5 +8,5 @@ public class TemporaryFileConfigurationResponseModel public string[] AllowedUploadedFileExtensions { get; set; } = Array.Empty(); - public int? MaxFileSize { get; set; } + public long? MaxFileSize { get; set; } } diff --git a/src/Umbraco.Core/Configuration/Models/RuntimeSettings.cs b/src/Umbraco.Core/Configuration/Models/RuntimeSettings.cs index a461815897..2b01d4734a 100644 --- a/src/Umbraco.Core/Configuration/Models/RuntimeSettings.cs +++ b/src/Umbraco.Core/Configuration/Models/RuntimeSettings.cs @@ -18,15 +18,10 @@ public class RuntimeSettings [DefaultValue(RuntimeMode.BackofficeDevelopment)] public RuntimeMode Mode { get; set; } = RuntimeMode.BackofficeDevelopment; - /// - /// Gets or sets a value for the maximum query string length. - /// - public int? MaxQueryStringLength { get; set; } - /// /// Gets or sets a value for the maximum request length in kb. /// - public int? MaxRequestLength { get; set; } + public long? MaxRequestLength { get; set; } /// /// Gets or sets the timespan temporary files are kept, before they are removed by a background task.