Skip to content

kite: scrubbing misses dnode.Functions in embedded structs #212

@rjeczalik

Description

@rjeczalik

When a value of the following struct is sent to server and Callback is a valid dnode.Function value, server correctly scrubs the value:

type Req struct {
    Callback dnode.Function
}

However if client sends a value of the following type:

type WrappedReq struct {
    Req
}

With a valid Callback field, the very same field is incorrectly unmarshaled / scrubbed server-side, thus rendering the callback unusable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions