From 325dcdc2ab05173f809b9d83af59918b3695cc23 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Wed, 26 Jan 2011 00:55:39 +0100 Subject: Fixes #8054 by reverting feature enhancement 5812 (4920). Regexps no longer searches for %3F in url or data to find jsonp callback placeholders. --- 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 f5742d998..16a4c2fd2 100644 --- a/src/ajax/jsonp.js +++ b/src/ajax/jsonp.js @@ -1,7 +1,7 @@ (function( jQuery ) { var jsc = jQuery.now(), - jsre = /(\=)(?:\?|%3F)(&|$)|()(?:\?\?|%3F%3F)()/i; + jsre = /(\=)\?(&|$)|()\?\?()/i; // Default jsonp settings jQuery.ajaxSetup({ -- cgit v1.2.3