Skip to content
Permalink
Browse files

Adds support for more complex protocol by having the url regexp close…

…r to rfc1738.
  • Loading branch information...
jaubourg committed Feb 3, 2011
1 parent ee22a59 commit 0736db64a21d961263161c2392dc6a0161bd4e86
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -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,

0 comments on commit 0736db6

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.