Commit b6e145d4 by ryun

Merge branch 'feature/SQL注入拦截' into release/v23.2.19高县版

parents 4a16ffac 2af83707
...@@ -120,7 +120,7 @@ public AntiSqlInjectFilter(IOptions<Application> options) ...@@ -120,7 +120,7 @@ public AntiSqlInjectFilter(IOptions<Application> options)
context.Result = new ObjectResult(response); context.Result = new ObjectResult(response);
return; return;
} }
else else if (value is not IFormCollection)
{ {
//是一个class,对class的属性中,string类型的属性进行过滤 //是一个class,对class的属性中,string类型的属性进行过滤
var properties = pType.GetProperties(); var properties = pType.GetProperties();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment