I have this code:
public ActionResult Test(string password)
{
return Json(TestMethod(password));
}
public bool TestMethod (string password)
{
return true;
}
But in "return Json(TestMethod(password));" I get a Privacy Violation vulnerability.
Is this due to the fact that I call the method TestMethod in Json()?