Skip to content

Commit a4fc842

Browse files
committed
Merge branch 'jquerymaster' of http://github.com/SlexAxton/jquery into SlexAxton-jquerymaster
2 parents 7e4f88e + a58f8f2 commit a4fc842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ jQuery.extend({
293293

294294
// Matches an absolute URL, and saves the domain
295295
var parts = rurl.exec( s.url ),
296-
remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host);
296+
remote = parts && (parts[1] && parts[1].toLowerCase() !== location.protocol || parts[2].toLowerCase() !== location.host);
297297

298298
// If we're requesting a remote document
299299
// and trying to load JSON or Script with a GET

0 commit comments

Comments
 (0)