Open rjeczalik opened 6 years ago
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.
When a value of the following struct is sent to server and Callback is a valid dnode.Function value, server correctly scrubs the value:
However if client sends a value of the following type:
With a valid Callback field, the very same field is incorrectly unmarshaled / scrubbed server-side, thus rendering the callback unusable.