Merge "maintenance: Script to rename titles for Unicode uppercasing changes"
[lhc/web/wiklou.git] / resources / lib / jquery / jquery-3.3.1.patch
1 --- jquery-3.3.1.js 2019-04-01 08:39:29.000000000 +0200
2 +++ jquery-3.3.1.js 2019-04-01 09:02:39.000000000 +0200
3 @@ -260,8 +260,9 @@ jQuery.extend = jQuery.fn.extend = function() {
4 for ( name in options ) {
5 src = target[ name ];
6 copy = options[ name ];
7
8 + // Prevent Object.prototype pollution
9 // Prevent never-ending loop
10 - if ( target === copy ) {
11 + if ( name === "__proto__" || target === copy ) {
12 continue;
13 }
14