mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Import fix for http://bugs.jquery.com/ticket/9521
This commit is contained in:
parent
354a1d3ffc
commit
ccefd6031d
4
usr/local/www/javascript/jquery.js
vendored
4
usr/local/www/javascript/jquery.js
vendored
@ -37,8 +37,8 @@ var jQuery = function( selector, context ) {
|
||||
rootjQuery,
|
||||
|
||||
// A simple way to check for HTML strings or ID strings
|
||||
// (both of which we optimize for)
|
||||
quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
|
||||
// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
|
||||
quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
|
||||
|
||||
// Check if a string has a non-whitespace character in it
|
||||
rnotwhite = /\S/,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user