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

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

Open
rjeczalik opened this issue Nov 21, 2017 · 0 comments
Open

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

rjeczalik opened this issue Nov 21, 2017 · 0 comments
Labels

Comments

@rjeczalik
Copy link
Member

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.

@rjeczalik rjeczalik added the bug label Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant