We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fcfee4 commit a58f8f2Copy full SHA for a58f8f2
src/ajax.js
@@ -287,7 +287,7 @@ jQuery.extend({
287
288
// Matches an absolute URL, and saves the domain
289
var parts = rurl.exec( s.url ),
290
- 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);
291
292
// If we're requesting a remote document
293
// and trying to load JSON or Script with a GET
0 commit comments