Allow # urls to contain #. Thanks to @alvopass in f9f9ee52e1 for the catch.

This commit is contained in:
jeresig 2010-09-22 14:58:07 -04:00
parent f9f9ee52e1
commit ab454d9526

View file

@ -10,7 +10,7 @@ var jsc = jQuery.now(),
rts = /([?&])_=[^&]*(&?)/, rts = /([?&])_=[^&]*(&?)/,
rurl = /^(\w+:)?\/\/([^\/?#]+)/, rurl = /^(\w+:)?\/\/([^\/?#]+)/,
r20 = /%20/g, r20 = /%20/g,
rhash = /#[^#]*$/, rhash = /#.*$/,
// Keep a copy of the old load method // Keep a copy of the old load method
_load = jQuery.fn.load; _load = jQuery.fn.load;