title: A potentially dangerous Request.Path value was detected from the client (*)
body: <p>I am receiving the rather self explanatory error:</p>
  
  <blockquote>
    <p>A potentially dangerous Request.Path value was detected from the client (*).</p>
  </blockquote>
  
  <p>The issue is due to <code>*</code> in the request URL:</p>
  
  <pre><code>https://stackoverflow.com/Search/test*/0/1/10/1
  </code></pre>
  
  <p>This url is used to populate a search page where 'test*' is the search term and the rest of the url relates to various other filters.</p>
  
  <p>Is there an easy way to allow these special characters in the URL? I've tried modifying the <code>web.config</code>, to no avail.</p>
  
  <p>Should I manually encode / decode the special characters?
  Or is there a best practice for doing this, I would like to avoid using query strings. - but it may be an option.</p>
  
  <p>The application itself is a <code>c# asp.net</code> webforms application that uses routing to produce the nice URL above.</p>