.NET Fortify Path Manipulation

1.5k Views Asked by At

Does anyone know how to resolve path manipulation issue reported by Forify scan.

I am already checking it path is exists but still Fortify reporting it as a vulnerability. Example:

string path = "set by user";
if(Path.Exists(path))
{
//Do file upload
}
0

There are 0 best solutions below