aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2010-10-25 13:06:55 -0700
committerJohn Resig <jeresig@gmail.com>2010-10-25 13:06:55 -0700
commita4fc842019a678a331c7322a5be747e6adc426ca (patch)
tree2ade6ac3c15c8d4aad45b5f272a18f63316add77 /src
parent7e4f88e20639ee7b4c360b0b4636ece0c0984bd2 (diff)
parenta58f8f22d19ff88fedb324bdf97d22dd7c16131f (diff)
downloadjquery-a4fc842019a678a331c7322a5be747e6adc426ca.tar.gz
jquery-a4fc842019a678a331c7322a5be747e6adc426ca.zip
Merge branch 'jquerymaster' of http://github.com/SlexAxton/jquery into SlexAxton-jquerymaster
Diffstat (limited to 'src')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 6a757eb11..b39bc8ddb 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -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