From: jeresig Date: Wed, 22 Sep 2010 18:58:07 +0000 (-0400) Subject: Allow # urls to contain #. Thanks to @alvopass in f9f9ee52e16f37900296e06982a7dccba89... X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=ab454d9526445fa025b9c897ec2b21aa89babc8d;p=jquery.git Allow # urls to contain #. Thanks to @alvopass in f9f9ee52e16f37900296e06982a7dccba89c5a78 for the catch. --- diff --git a/src/ajax.js b/src/ajax.js index 97d4039..9886fd7 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -10,7 +10,7 @@ var jsc = jQuery.now(), rts = /([?&])_=[^&]*(&?)/, rurl = /^(\w+:)?\/\/([^\/?#]+)/, r20 = /%20/g, - rhash = /#[^#]*$/, + rhash = /#.*$/, // Keep a copy of the old load method _load = jQuery.fn.load;