title: Cannot disable ASP.NET request validation for URL "/x:)"
body: <p>When I access the URL <code>/x:)</code> of my ASP.NET MVC 5 app I get this error:</p>
  
  <pre><code>A potentially dangerous Request.Path value was detected from the client (:). 
  
  [HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).]
     System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +9939892
     System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +53
  </code></pre>
  
  <p>This is the full stack trace.</p>
  
  <p>I want to disable request validation entirely. I don't need it and I need to process even strange URLs like this one.</p>
  
  <p>I have applied all of these settings but they did not work:</p>
  
  <pre><code>&lt;httpRuntime targetFramework="4.7.2" requestValidationMode="2.0" /&gt;
  &lt;pages validateRequest="false" /&gt;
  [ValidateInput(false)]
  </code></pre>
  
  <p>How can I avoid request validation entirely?</p>