mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
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,
|
||||
rspacesAjax = /\s+/,
|
||||
rts = /([?&])_=[^&]*/,
|
||||
rurl = /^(\w+:)\/\/([^\/?#:]*)(?::(\d+))?/,
|
||||
rurl = /^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,
|
||||
|
||||
// Keep a copy of the old load method
|
||||
_load = jQuery.fn.load,
|
||||
|
Loading…
Reference in New Issue
Block a user