aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-01-09 21:48:52 +0100
committerjaubourg <j@ubourg.net>2011-01-09 21:48:52 +0100
commit8c8bd3bf6ac982f98c1b89b0af74a1fd2d07e360 (patch)
treec9a8395d5e7145cfd4a496c397d2d137c76dcaaa /src/ajax
parent62a1a1a8fa64f92f429a3f5b8ed2e0d1f6fc3d6c (diff)
downloadjquery-8c8bd3bf6ac982f98c1b89b0af74a1fd2d07e360.tar.gz
jquery-8c8bd3bf6ac982f98c1b89b0af74a1fd2d07e360.zip
Fixes #5812. =? will be detected even when it has been escaped during data serialization.
Diffstat (limited to 'src/ajax')
-rw-r--r--src/ajax/jsonp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js
index 0af00567c..f4b324e17 100644
--- a/src/ajax/jsonp.js
+++ b/src/ajax/jsonp.js
@@ -1,7 +1,7 @@
(function( jQuery ) {
var jsc = jQuery.now(),
- jsre = /\=\?(&|$)/,
+ jsre = /\=(?:\?|%3F)(&|$)/i,
rquery_jsonp = /\?/;
// Default jsonp settings