Harshal C
Harshal C

Reputation: 17

.NET Fortify Path Manipulation

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
}

Upvotes: 1

Views: 2274

Answers (0)

Related Questions