Adds support for more complex protocol by having the url regexp closer to rfc1738.
This commit is contained in:
parent
ee22a59129
commit
0736db64a2
|
@ -15,7 +15,7 @@ var r20 = /%20/g,
|
||||||
rselectTextarea = /^(?:select|textarea)/i,
|
rselectTextarea = /^(?:select|textarea)/i,
|
||||||
rspacesAjax = /\s+/,
|
rspacesAjax = /\s+/,
|
||||||
rts = /([?&])_=[^&]*/,
|
rts = /([?&])_=[^&]*/,
|
||||||
rurl = /^(\w+:)\/\/([^\/?#:]*)(?::(\d+))?/,
|
rurl = /^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,
|
||||||
|
|
||||||
// Keep a copy of the old load method
|
// Keep a copy of the old load method
|
||||||
_load = jQuery.fn.load,
|
_load = jQuery.fn.load,
|
||||||
|
|
Loading…
Reference in a new issue