title: How to fix ‘Path Manipulation’ issue from Fortify scan report for tthe following code sample
body: <p>I have path Manipulation problem. The following code is placed in Page_load method of ASPx page.</p>
  
  <pre><code>String rName = Request.QueryString["reportName"];
  string path = "C:\\hari" + rName;
  if (File.Exists(path))
  {
      File.Delete(path);
  }
  </code></pre>
  
  <p>But Fortify scan report for the above sample code shows ‘Path Manipulation’  issue as high 
  Need help to modify above code so that it can pass fortify scan</p>