title: jQuery 1.6 cross domain request is not working
body: <p>I'm testing a vanilla html website that requests data from a web service. My website is running locally on port 81 and the web service is running on port 61616.</p>
  
  <p>This worked in jQuery 1.4.</p>
  
  <p>I have since upgraded to 1.6 and seriously thinking of going back because the cross domain implementation is broken.</p>
  
  <p>In IE I get resource not found and the URL shown is everything except the hostname:port, without which, the resource (of course) will not be found.</p>
  
  <p>In Chrome I get the following error: XMLHttpRequest cannot load <a href="http://localhost:61616/ZifmiaService/Register/foo/bar/foo" rel="nofollow">http://localhost:61616/ZifmiaService/Register/foo/bar/foo</a> bar/david@company.com. Origin <a href="http://localhost:81" rel="nofollow">http://localhost:81</a> is not allowed by Access-Control-Allow-Origin.</p>
  
  <p>The web service has Access-Control-Allow-Origin:* set, so cross domain requests are allowed on the server side.</p>
  
  <p>I also have:</p>
  
  <p>$.support.cors = true;</p>
  
  <p>in my client side javascript code.</p>
  
  <p>I am not using jsonp and don't think I should need to with the correct settings.</p>
  
  <p>What else could I be doing wrong, or should I report a bug to jQuery?</p>
  
  <ul>
  <li><ul>
  <li>Added code  * *</li>
  </ul></li>
  </ul>
  
  <p>The url becomes the 61616 url as described above.</p>
  
  <pre><code>this.register = function (username, password, nickName, emailAddress, callback, errorCallback) {
      $.ajax({
          type: "GET",
          url: ZifmiaRegister.format(username, password, nickName, emailAddress),
          crossDomain: true,
          dataType: "json",
          success: function (zifmiaRegistrationViewModel) {
              callback(zifmiaRegistrationViewModel);
          },
          error: function (xhr, textStatus, errorThrown) {
              errorCallback(xhr, textStatus, errorThrown);
          },
          beforeSend: function () { $(ajaxLoading).show(); },
          complete: function () { $(ajaxLoading).hide(); }
      });
  }
  </code></pre>