[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:
Xavier Morel
2022-05-04 00:05:01 +02:00
parent 97ef347724
commit 9ac8050de8
2 changed files with 1 additions and 2 deletions
@@ -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
View File
@@ -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;
}