Skip to content

Commit

Permalink
Adds support for more complex protocol by having the url regexp close…
Browse files Browse the repository at this point in the history
…r to rfc1738.
  • Loading branch information
jaubourg committed Feb 3, 2011
1 parent ee22a59 commit 0736db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax.js
Expand Up @@ -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,
Expand Down

0 comments on commit 0736db6

Please sign in to comment.