-
-
Notifications
You must be signed in to change notification settings - Fork 241
Add option to ParsingConfig to allow the Equals and ToString methods on object #875
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
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.