title: Potentially dangerous Request.QueryString value was detected from the client
body: <p>So, I know WHY this happens but just unsure the best way to go about fixing it.
  The application I am using has a ViewModel and binds/maps the properties from a Model.</p>
  
  <p>This VM is then bound to the View and using the @Html.TextBox() helper.</p>
  
  <p>This is an example: The actual text value from the DB is: </p>
  
  <pre><code>"Universit&amp;#233; de Montr&amp;#233;al"
  </code></pre>
  
  <p>The rendered output on the HTML in the DOM is:</p>
  
  <pre><code>&lt;input class="validate" id="EmployerName" name="EmployerName" type="text" value="Universit&amp;amp;#233; de Montr&amp;amp;#233;al" /&gt;
  </code></pre>
  
  <p>Now, once the page has been loaded, it does an AJAX GET call by serializing the form and sending that across.</p>
  
  <p>At this point, it DOES hit the controller (because I have the [ValidateRequest(false)] attribute applied to that controller action, but I then get the error:</p>
  
  <pre><code>A potentially dangerous Request.QueryString value was detected from the client (employername="Universit&amp;#233; de Montr&amp;#233..."). 
  </code></pre>
  
  <p>At this point, I am stuck as to what to do to fix the problem and let the request process normally.
  I know by adding the  in the web.config fixes it, I do not want to change it site wide.</p>
  
  <p>any ideas the best thing to do to allow this request to process as normal?</p>
  
  <p>Controller action:</p>
  
  <pre><code>[ValidateInput(false)] 
  [OutputCache(NoStore = true, Duration = 0)]
  public ActionResult GetMoreData(Criteria crit)
  {
  ...
  }
  </code></pre>