File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Umbraco.Web.Common/Security Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class ConfigureFormOptions : IConfigureOptions<FormOptions>
12
12
public void Configure ( FormOptions options )
13
13
{
14
14
// convert from KB to bytes
15
- options . MultipartBodyLengthLimit = _runtimeSettings . Value . MaxRequestLength . HasValue ? _runtimeSettings . Value . MaxRequestLength . Value * 1024 : int . MaxValue ;
15
+ options . MultipartBodyLengthLimit = _runtimeSettings . Value . MaxRequestLength . HasValue ? _runtimeSettings . Value . MaxRequestLength . Value * 1024 : long . MaxValue ;
16
16
}
17
17
}
18
18
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class ConfigureIISServerOptions : IConfigureOptions<IISServerOptions>
12
12
public void Configure ( IISServerOptions options )
13
13
{
14
14
// convert from KB to bytes
15
- options . MaxRequestBodySize = _runtimeSettings . Value . MaxRequestLength . HasValue ? _runtimeSettings . Value . MaxRequestLength . Value * 1024 : int . MaxValue ;
15
+ options . MaxRequestBodySize = _runtimeSettings . Value . MaxRequestLength . HasValue ? _runtimeSettings . Value . MaxRequestLength . Value * 1024 : long . MaxValue ;
16
16
}
17
17
}
18
18
}
You can’t perform that action at this time.
0 commit comments