Can anyone help me in fixing Cleansing_Canonicalization_and_Comparison_Errors vulnerability in below code-
string appServerPath = string.Empty;
appPath = ConfigurationManager.AppSettings["ServerPath"].ToString();
try
{
FileLoader.FileDownLoad(appPath + DownloadFileCtrl.Value);
FileLoader.DeleteFile(appPath + DownloadFileCtrl.Value); //this particular line is throwing issue
}