Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix binding mixed attributes to body parameters #6764

Merged
merged 1 commit into from Jan 18, 2022
Merged

Commits on Jan 17, 2022

  1. Fix binding mixed attributes to body parameters

    `NettyHttpRequest.buildBody` distinguishes between requests with "received data" and "received content", where the former only applies when `AbstractHttpData` instances are present. `AbstractHttpData` is a base class of both `DiskAttribute` and `MemoryAttribute`, but not of `MixedAttribute`. This makes `buildBody` use the "content" path for mixed requests.
    
    This change adds an exception for `MixedAttribute` so that it is also covered by the "data" path.
    
    Fixes #6705
    yawkat committed Jan 17, 2022
    Copy the full SHA
    d020e32 View commit details
    Browse the repository at this point in the history