Merge branch 'jquerymaster' of http://github.com/SlexAxton/jquery into SlexAxton...
authorJohn Resig <jeresig@gmail.com>
Mon, 25 Oct 2010 20:06:55 +0000 (13:06 -0700)
committerJohn Resig <jeresig@gmail.com>
Mon, 25 Oct 2010 20:06:55 +0000 (13:06 -0700)
src/ajax.js

index 6a757eb..b39bc8d 100644 (file)
@@ -293,7 +293,7 @@ jQuery.extend({
 
                // Matches an absolute URL, and saves the domain
                var parts = rurl.exec( s.url ),
-                       remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host);
+                       remote = parts && (parts[1] && parts[1].toLowerCase() !== location.protocol || parts[2].toLowerCase() !== location.host);
 
                // If we're requesting a remote document
                // and trying to load JSON or Script with a GET