更新时间:2022-12-08 10:52:16
从 AppHistoryViewModel 中删除 setter 属性后,它起作用了.
After removing setter property from AppHistoryViewModel it worked.
我从代码中删除了以下几行,在 sonarQube 报告中看不到漏洞
I removed below set of lines from the code and I can see no longer Vulnerability in sonarQube report
set
{
if (HttpContext.Current != null)
{
HttpContext.Current.Session[SessionKeys.AppHistory] = value;
}
}