11 writes to ValueLengthLimit
Microsoft.AspNetCore.Http (1)
Features\FormFeature.cs (1)
219
ValueLengthLimit
= _options.ValueLengthLimit,
Microsoft.AspNetCore.WebUtilities.Tests (10)
FormPipeReaderTests.cs (10)
165
var formCollection = await ReadFormAsync(new FormPipeReader(bodyPipe) {
ValueLengthLimit
= 10 });
180
() => ReadFormAsync(new FormPipeReader(bodyPipe) {
ValueLengthLimit
= 10 }));
200
() => ReadFormAsync(new FormPipeReader(bodyPipe.Reader) {
ValueLengthLimit
= 10 }));
223
ValueLengthLimit
= valueLengthLimit,
301
formReader.
ValueLengthLimit
= int.MaxValue;
342
formReader.
ValueLengthLimit
= int.MaxValue;
481
formReader.
ValueLengthLimit
= 2;
495
formReader.
ValueLengthLimit
= 2;
523
formReader.
ValueLengthLimit
= 10;
576
ValueLengthLimit
= 3
6 references to ValueLengthLimit
Microsoft.AspNetCore.WebUtilities (6)
FormPipeReader.cs (6)
185
if ((uint)span.Length > (uint)KeyLengthLimit + (uint)
ValueLengthLimit
)
220
if (value.Length >
ValueLengthLimit
)
254
if ((sequenceReader.Length - consumedBytes) > (long)KeyLengthLimit + (long)
ValueLengthLimit
+ 2)
286
if (value.Length >
ValueLengthLimit
)
323
ValueLengthLimit
));
341
ValueLengthLimit
));