aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-22 14:58:07 -0400
committerjeresig <jeresig@gmail.com>2010-09-22 14:58:07 -0400
commitab454d9526445fa025b9c897ec2b21aa89babc8d (patch)
tree40f3c099a29ef00c916cf05a745a255dfb1911bd /src
parentf9f9ee52e16f37900296e06982a7dccba89c5a78 (diff)
downloadjquery-ab454d9526445fa025b9c897ec2b21aa89babc8d.tar.gz
jquery-ab454d9526445fa025b9c897ec2b21aa89babc8d.zip
Allow # urls to contain #. Thanks to @alvopass in f9f9ee52e16f37900296e06982a7dccba89c5a78 for the catch.
Diffstat (limited to 'src')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 97d40391d..9886fd70f 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;