diff options
author | jaubourg <j@ubourg.net> | 2011-01-09 21:48:52 +0100 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-01-09 21:48:52 +0100 |
commit | 8c8bd3bf6ac982f98c1b89b0af74a1fd2d07e360 (patch) | |
tree | c9a8395d5e7145cfd4a496c397d2d137c76dcaaa /src/ajax/jsonp.js | |
parent | 62a1a1a8fa64f92f429a3f5b8ed2e0d1f6fc3d6c (diff) | |
download | jquery-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/jsonp.js')
-rw-r--r-- | src/ajax/jsonp.js | 2 |
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 |