Add option to ParsingConfig to allow the Equals and ToString methods on object#875
Add option to ParsingConfig to allow the Equals and ToString methods on object#875
Conversation
|
I used your idea for allowing the Equals and ToString methods with a config setting. Note that for security reasons, it's not allowed by default. |
|
Hi, @StefH. I wondered whether it would be possible for you to comment on the potential security implications of enabling this? We are using the library to call .ToString on an Int32 but it is calling object's implementation of that method, rather than the Int32 override. This is obviously erroring unless we turn on this config setting. Appreciate the help, |
|
Hello @ChrisGilbertInfor, Sorry, I cannot comment on the security implications of enabling this setting for your applications. About int.ToString(), I think it's possible and also safe to allow typeof(bool) I'll think about this. |
No description provided.