-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-http-abstractions
Milestone
Description
Describe the bug
After update to Preview 9 cannot submit form if KeyLengthLimit set to int.MaxValue
To Reproduce
- Using this version of ASP.NET Core '3.0.0-preview9.19424.4'
- Create Default MVC application
- Create form
- In services setup
Services.Configure<FormOptions>( Options => Options.ValueLengthLimit = int.MaxValue ); Services.Configure<FormOptions>( Options => Options.ValueCountLimit = int.MaxValue ); Services.Configure<FormOptions>( Options => Options.KeyLengthLimit = int.MaxValue ); - Submit a form
- See error Form key length limit 2147483647 or value length limit 2147483647 exceeded.
Workaround
Setup values to 1_009_100_000 (they might be bigger, but 1_090_000_000 does not work already)
Expected behavior
Preview 8 did not have that issues
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-http-abstractions