title: Response.WriteFile adding directory path where it shouldnt
body: <p>I have a web page that is displaying a PDF file with the following code:</p>
  
  <pre><code>Response.Clear();
  strFilePath = Server.HtmlDecode(Request.QueryString["filename"]);
  Response.ContentType = "application/pdf";
  Response.WriteFile(strFilePath);
  </code></pre>
  
  <p>The filename got from Server.HtmlDecode() is "\FileServer\shared\faxqueue\fax.pdf"</p>
  
  <p>However an exception is thrown for directory not found and it says that it cant find the file. It also says in the exception that it is looking for: "C:[Website Root Folder]\FileServer\shared\faxqueue\fax.pdf"</p>
  
  <p>This means that it has appended the filename given to the folder where the website code is located.</p>
  
  <p>How can I stop it from using the website root?</p>
  
  <p>Thanks</p>