[REV] web/lib: Revert: backport jquery bugfixes
This reverts commit 0dd7c78b06726543825008a48d3dc004d2af4557. X-original-commit: b50cd480d3f40ab084689587e6cbed311c09fb2f Part-of: odoo/odoo#90463
This commit is contained in:
@@ -468,7 +468,6 @@
|
||||
coerce_types = { 'true': !0, 'false': !1, 'null': null };
|
||||
|
||||
// Iterate over all name=value pairs.
|
||||
if (params.indexOf('__proto__') !== -1) { return obj; }
|
||||
$.each( params.replace( /\+/g, ' ' ).split( '&' ), function(j,v){
|
||||
var param = v.split( '=' ),
|
||||
key = decode( param[0] ),
|
||||
|
||||
+1
-1
@@ -262,7 +262,7 @@ jQuery.extend = jQuery.fn.extend = function() {
|
||||
copy = options[ name ];
|
||||
|
||||
// Prevent never-ending loop
|
||||
if ( name === '__proto__' || target === copy ) {
|
||||
if ( target === copy ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user