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.
2 parents 7e4f88e + a58f8f2 commit a4fc842Copy full SHA for a4fc842
src/ajax.js
@@ -293,7 +293,7 @@ jQuery.extend({
293
294
// Matches an absolute URL, and saves the domain
295
var parts = rurl.exec( s.url ),
296
- 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);
297
298
// If we're requesting a remote document
299
// and trying to load JSON or Script with a GET
0 commit comments