Skip to content

Commit 95aaf4c

Browse files
committed
Updated parser to work as it did prior to the dynamic.core vulnerability fix
1 parent bea4c9f commit 95aaf4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EventLogExpert.UI/Models/FilterComparison.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public string Value
1717
set
1818
{
1919
Expression = DynamicExpressionParser
20-
.ParseLambda<DisplayEventModel, bool>(ParsingConfig.Default, false, value)
20+
.ParseLambda<DisplayEventModel, bool>(new ParsingConfig { AllowEqualsAndToStringMethodsOnObject = true }, false, value)
2121
.Compile();
2222

2323
_value = value;

0 commit comments

Comments
 (0)