title: How can I get my ASP.NET website to allow the pipe character in the URL?
body: <p>This website <a href="http://www.donateblood.com.au" rel="nofollow noreferrer">http://www.donateblood.com.au</a> does not accept the pipe character | in the URL</p>
  
  <p>This works <a href="http://www.donateblood.com.au/news-events.aspx?IDDataTreeMenu=33" rel="nofollow noreferrer">http://www.donateblood.com.au/news-events.aspx?IDDataTreeMenu=33</a></p>
  
  <p>but this doesn't</p>
  
  <p><a href="http://www.donateblood.com.au/news-events.aspx?IDDataTreeMenu=33&amp;y=|" rel="nofollow noreferrer">http://www.donateblood.com.au/news-events.aspx?IDDataTreeMenu=33&amp;y=|</a></p>
  
  <p>It looks like the pipe is an issue as </p>
  
  <p><a href="http://www.donateblood.com.au/news-events.aspx?IDDataTreeMenu=33&amp;y=" rel="nofollow noreferrer">http://www.donateblood.com.au/news-events.aspx?IDDataTreeMenu=33&amp;y=</a></p>
  
  <p>works.</p>
  
  <p>I need to stop this because a third party called Omniture needs to access this website automatically with the | in the URL.
  I cannot ask them to encode the | as they are a big company.
  They say there is some way to allow the | but I am not sure how.</p>
  
  <p>I only have access to web.config, not the server, as it is hosted on a shared server at a big hosting company.</p>
  
  <p>Answer:</p>
  
  <p>Infact, it was our own code blocking the pipe |
  Very hard to track down, but that was it.
  This could have been more easily found by searching for the page name where redirection was occurring.</p>
  
  <p>How embarassing!</p>