如何修复包含http.current.context的C#代码的信任边界冲突

时间:2019-05-31 21:52:07

标签: c# .net security checkmarx

我一直在研究漏洞,需要修复信任边界冲突。它具有如何修复的说明,但没有针对http.current.context的说明。我需要解决方案。我看过一些使用reg.match的示例。

我正在尝试查看是否可以使用正则表达式进行验证,但不确定。

string appId = HttpContext.Current.Request.QueryString [“ appID”];

没有错误消息,但我必须修复该缺陷。

0 个答案:

没有答案