4 writes to ValueCountLimit
Microsoft.AspNetCore.Http (1)
Features\FormFeature.cs (1)
217
ValueCountLimit
= _options.ValueCountLimit,
Microsoft.AspNetCore.WebUtilities.Tests (3)
FormPipeReaderTests.cs (3)
94
var formCollection = await ReadFormAsync(new FormPipeReader(bodyPipe) {
ValueCountLimit
= 3 });
109
() => ReadFormAsync(new FormPipeReader(bodyPipe) {
ValueCountLimit
= 3 }));
124
() => ReadFormAsync(new FormPipeReader(bodyPipe) {
ValueCountLimit
= 3 }));
2 references to ValueCountLimit
Microsoft.AspNetCore.WebUtilities (2)
FormPipeReader.cs (2)
380
if (accumulator.ValueCount >
ValueCountLimit
)
382
throw new InvalidDataException($"Form value count limit {
ValueCountLimit
} exceeded.");