title: How do I change a '\' to a '/'
body: <p>My web program is getting an error when trying to access a file in a code behind C# program that has a backward slash between the directory name and the file name.  The address for the file comes into my web page with a query value of 'deaths\bakerd.htm'.  The browser, however, converts it to 'deaths%08akerd.htm'. </p>
  
  <p>The url in the webpage reads </p>
  
  <pre><code> 'http://localhost:57602/obitm.aspx?url=deaths%08akerd.htm' 
  </code></pre>
  
  <p>and says the web page cannot be found but the webpage obitm.aspx does exist so why would it say it doesn't?</p>
  
  <p>If I manually change the value of the query value in Windows Explorer to 'deaths/bakerd.htm' it doesn't do any conversion when coming in as a query value in the browser and I am able to access the file in my C# program. </p>
  
  <p>I tried to change the query value in javascript using </p>
  
  <pre><code>   thisurl = url.replace("\\", "/") 
  </code></pre>
  
  <p>but that didn't change anything.</p>
  
  <p>I haven't tried any conversion in my C# program.  So how do I programmatically change the '\' to a '/'?  I have no idea why this is happening and is very confusing.  Any help is appreciated.</p>