11/*!
2- * jQuery JavaScript Library v1.7.2
2+ * jQuery JavaScript Library v1.7.3-sec
33 * http://jquery.com/
44 *
55 * Copyright 2011, John Resig
1111 * Copyright 2011, The Dojo Foundation
1212 * Released under the MIT, BSD, and GPL Licenses.
1313 *
14- * Date: Wed Mar 21 12:46:34 2012 -0700
14+ * Date: Fri Feb 16 00:55:01 2024 -0600
1515 */
1616( function ( window , undefined ) {
1717
@@ -38,7 +38,8 @@ var jQuery = function( selector, context ) {
3838
3939 // A simple way to check for HTML strings or ID strings
4040 // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
41- quickExpr = / ^ (?: [ ^ # < ] * ( < [ \w \W ] + > ) [ ^ > ] * $ | # ( [ \w \- ] * ) $ ) / ,
41+ // Strict HTML recognition (#11290: must start with <)
42+ quickExpr = / ^ (?: ( < [ \w \W ] + > ) [ ^ > ] * | # ( [ \w - ] * ) ) $ / ,
4243
4344 // Check if a string has a non-whitespace character in it
4445 rnotwhite = / \S / ,
@@ -210,7 +211,7 @@ jQuery.fn = jQuery.prototype = {
210211 selector : "" ,
211212
212213 // The current version of jQuery being used
213- jquery : "1.7.2 " ,
214+ jquery : "1.7.3-sec " ,
214215
215216 // The default length of a jQuery object is 0
216217 length : 0 ,
@@ -355,8 +356,9 @@ jQuery.extend = jQuery.fn.extend = function() {
355356 src = target [ name ] ;
356357 copy = options [ name ] ;
357358
359+ // Prevent Object.prototype pollution
358360 // Prevent never-ending loop
359- if ( target === copy ) {
361+ if ( name === "__proto__" || target === copy ) {
360362 continue ;
361363 }
362364
@@ -5735,7 +5737,6 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
57355737 "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video" ,
57365738 rinlinejQuery = / j Q u e r y \d + = " (?: \d + | n u l l ) " / g,
57375739 rleadingWhitespace = / ^ \s + / ,
5738- rxhtmlTag = / < (? ! a r e a | b r | c o l | e m b e d | h r | i m g | i n p u t | l i n k | m e t a | p a r a m ) ( ( [ \w : ] + ) [ ^ > ] * ) \/ > / ig,
57395740 rtagName = / < ( [ \w : ] + ) / ,
57405741 rtbody = / < t b o d y / i,
57415742 rhtml = / < | & # ? \w + ; / ,
@@ -5747,7 +5748,6 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
57475748 rscriptType = / \/ ( j a v a | e c m a ) s c r i p t / i,
57485749 rcleanScript = / ^ \s * < ! (?: \[ C D A T A \[ | \- \- ) / ,
57495750 wrapMap = {
5750- option : [ 1 , "<select multiple='multiple'>" , "</select>" ] ,
57515751 legend : [ 1 , "<fieldset>" , "</fieldset>" ] ,
57525752 thead : [ 1 , "<table>" , "</table>" ] ,
57535753 tr : [ 2 , "<table><tbody>" , "</tbody></table>" ] ,
@@ -5758,7 +5758,6 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
57585758 } ,
57595759 safeFragment = createSafeFragment ( document ) ;
57605760
5761- wrapMap . optgroup = wrapMap . option ;
57625761wrapMap . tbody = wrapMap . tfoot = wrapMap . colgroup = wrapMap . caption = wrapMap . thead ;
57635762wrapMap . th = wrapMap . td ;
57645763
@@ -5936,13 +5935,10 @@ jQuery.fn.extend({
59365935 null ;
59375936 }
59385937
5939-
59405938 if ( typeof value === "string" && ! rnoInnerhtml . test ( value ) &&
59415939 ( jQuery . support . leadingWhitespace || ! rleadingWhitespace . test ( value ) ) &&
59425940 ! wrapMap [ ( rtagName . exec ( value ) || [ "" , "" ] ) [ 1 ] . toLowerCase ( ) ] ) {
59435941
5944- value = value . replace ( rxhtmlTag , "<$1></$2>" ) ;
5945-
59465942 try {
59475943 for ( ; i < l ; i ++ ) {
59485944 // Remove element nodes and prevent memory leaks
@@ -6387,8 +6383,6 @@ jQuery.extend({
63876383 if ( ! rhtml . test ( elem ) ) {
63886384 elem = context . createTextNode ( elem ) ;
63896385 } else {
6390- // Fix "XHTML"-style tags in all browsers
6391- elem = elem . replace ( rxhtmlTag , "<$1></$2>" ) ;
63926386
63936387 // Trim whitespace, otherwise indexOf won't work as expected
63946388 var tag = ( rtagName . exec ( elem ) || [ "" , "" ] ) [ 1 ] . toLowerCase ( ) ,
@@ -6979,7 +6973,7 @@ var r20 = /%20/g,
69796973 rnoContent = / ^ (?: G E T | H E A D ) $ / ,
69806974 rprotocol = / ^ \/ \/ / ,
69816975 rquery = / \? / ,
6982- rscript = / < s c r i p t \b [ ^ < ] * (?: (? ! < \/ s c r i p t > ) < [ ^ < ] * ) * < \/ s c r i p t > / gi,
6976+ rscript = / < s c r i p t \b [ ^ < ] * (?: (? ! < \/ s c r i p t > ) < [ ^ < ] * ) * < * \/ * s c r i p t * > ? / gi,
69836977 rselectTextarea = / ^ (?: s e l e c t | t e x t a r e a ) / i,
69846978 rspacesAjax = / \s + / ,
69856979 rts = / ( [ ? & ] ) _ = [ ^ & ] * / ,
@@ -8046,6 +8040,13 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
80468040
80478041
80488042
8043+ // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
8044+ jQuery . ajaxPrefilter ( function ( s ) {
8045+ if ( s . crossDomain ) {
8046+ s . contents . script = false ;
8047+ }
8048+ } ) ;
8049+
80498050// Install script dataType
80508051jQuery . ajaxSetup ( {
80518052 accepts : {
0 commit comments