From 8c8bd3bf6ac982f98c1b89b0af74a1fd2d07e360 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Sun, 9 Jan 2011 21:48:52 +0100 Subject: Fixes #5812. =? will be detected even when it has been escaped during data serialization. --- src/ajax/jsonp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ajax') 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 -- cgit v1.2.3