]> source.dussan.org Git - jquery.git/commitdiff
Allow # urls to contain #. Thanks to @alvopass in f9f9ee52e16f37900296e06982a7dccba89...
authorjeresig <jeresig@gmail.com>
Wed, 22 Sep 2010 18:58:07 +0000 (14:58 -0400)
committerjeresig <jeresig@gmail.com>
Wed, 22 Sep 2010 18:58:07 +0000 (14:58 -0400)
src/ajax.js

index 97d40391d905f0a6e3ad46ee84681617658c9d2e..9886fd70f9273cc7736df5ebe0c5c4cb8fb96e40 100644 (file)
@@ -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;