Skip to content

Conversation

@sebastienros
Copy link
Member

Fixes #36987

Verified the test is passing on release/6.0.
Applied some of the PR feedback too.

if (_accumulator.TryGetValue(key, out values))
{
if (StringValues.IsNullOrEmpty(values))
if (values.Count == 0)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual bug.

@sebastienros sebastienros merged commit a547aa8 into main Oct 5, 2021
@sebastienros sebastienros deleted the sebros/nullacc branch October 5, 2021 22:37
@ghost ghost added this to the 7.0-preview1 milestone Oct 5, 2021
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reading form with invalid content throws NullReferenceException

5 participants