title: jQuery ajax working in IE, Chrome, and FF...but not Safari (server using MVC 4)
body: <p>I have an MVC 4 application that is receiving data and returning a Json string back to the client. The code works flawlessly in Chrome, Firefox, and IE (only targeting 8+...but I have actually seen it work in IE7). It doesn't, however, work in Safari 5.x on Windows (I don't have a Mac...so I can't test that).</p>
  
  <p>Here's the jQuery...(using 1.9.1...thx Tim B James for asking...forgot to mention it earlier)</p>
  
  <pre><code>$.ajax({
          type: 'POST',
          url: '@Url.Content("~/Request/ValidateApprover/")',
          data: { 'name': input },
          success: function (json) {
            //do some work here
          },
          error: function () {
            //tell the user that it failed here
          }
        });
  </code></pre>
  
  <p>And here's my Controller that is getting called...</p>
  
  <pre><code>[HttpPost]
  public ActionResult ValidateApprover()
  {
    string emailAddress = "";
    string name = this.Request.Form["name"]; //&lt;--the form is blank using Safari 5
  
    if (String.IsNullOrEmpty(name) || String.IsNullOrWhiteSpace(name))
      return Json(new { result = "blank" }, "application/json", JsonRequestBehavior.AllowGet);
  
    //...keep going if you got a value other than blank
  </code></pre>
  
  <p>When I try to read the results in my Controller using <code>this.Request.From["name"]</code>, I am fine when using Firefox, Chrome, and IE...but I get a blank form value using Safari.</p>
  
  <p><strong>EDIT 1:</strong> I wrote a VERY simple PHP page to check and see if the data is being passed properly in Safari. It appears that it is...so it looks like something in between IIS and Safari is the issue.</p>
  
  <p><strong>EDIT 2:</strong> I wrote a very simple MVC Application to test and the data is coming across in that test....which leads me to believe it's some sort of HTML validation thing in Safari. I also removed the posted request header data in this edit.</p>
  
  <p>Any additional ideas?</p>