Browse Source

Pull request #1696: 无JIRA任务 jqueryXss漏洞https://www.freebuf.com/vuls/201762.html

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '34dbafa3f7ec30f976234aa7a8c3540b13fcda0f':
  jqueryXss漏洞https://www.freebuf.com/vuls/201762.html
  jqueryXss漏洞https://www.freebuf.com/vuls/201762.html
es6
guy 4 years ago
parent
commit
c2d7d0b40e
  1. 3
      src/core/platform/web/jquery/_jquery.js

3
src/core/platform/web/jquery/_jquery.js vendored

@ -213,7 +213,7 @@
copy = options[ name ];
// Prevent never-ending loop
if ( target === copy ) {
if ( name === "__proto__" || target === copy ) {
continue;
}
@ -5884,7 +5884,6 @@
var rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
rnoshimcache = new RegExp( "<(?:" + nodeNames + ")[\\s/>]", "i" ),
// rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,
// Support: IE 10-11, Edge 10240+
// In IE/Edge using regex groups here causes severe slowdowns.

Loading…
Cancel
Save