Commit 2af83707 by ryun

取消文件上次限制

parent 99470398
...@@ -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