Skip to content

Wolverine 6.64.2

Choose a tag to compare

@jeremydmiller jeremydmiller released this 16 Nov 16:01
db2a42c

Wolverine 6.64.2 is a patch release on the 6.x maintenance line (the 6.0 branch). It backports two Wolverine.HTTP fixes from 7.0 and adds no public API.

Fixes

  • #5562: [DeduplicatedWithResponse] now works with multipart uploads and form posts. A retried upload or form post gets the first response again, where it used to get a 422. An endpoint that binds a form value is no longer refused. A form that ASP.NET Core reads before the endpoint (an antiforgery token sent as a form field) is fingerprinted too, and the antiforgery token is left out of the fingerprint, because a browser that reloads the page gets a new token for the same request. Thanks to @esond (#5563).
  • #5463: Wolverine.HTTP reads form data asynchronously, so a request no longer blocks a thread on a synchronous Request.Form read. #5562 builds on this. Thanks to @uniquelau.

Known 6.x behavior, unchanged: with UseAntiforgery(), a form post with no token answers 500 rather than 400, because ASP.NET Core throws when the endpoint reads a form that failed antiforgery validation. 7.0 answers 400 through its in-endpoint antiforgery check (GH-5147), which is not backported.

Full change list: #5575.