Fixes #5866. Issue number in previous commit was wrong both in comments and commit message. See 0e5b341cc0 for previous commit.

This commit is contained in:
jaubourg 2011-01-26 01:45:00 +01:00
parent 0e5b341cc0
commit d7d64713a7

View file

@ -542,7 +542,7 @@ jQuery.extend({
};
// Remove hash character (#7531: and string promotion)
// Add protocol if not provided (#5856: IE7 issue with protocol-less urls)
// Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
// We also use the url parameter if available
s.url = ( "" + ( url || s.url ) ).replace( rhash, "" ).replace( rprotocol, protocol + "//" );