v0.1.19
This commit is contained in:
3
dist/xss.js
vendored
3
dist/xss.js
vendored
@@ -722,9 +722,6 @@ FilterXSS.prototype.process = function (html) {
|
||||
html = html.toString();
|
||||
if (!html) return '';
|
||||
|
||||
// 去除不可见字符
|
||||
html = DEFAULT.stripBlankChar(html);
|
||||
|
||||
var me = this;
|
||||
var options = me.options;
|
||||
var whiteList = options.whiteList;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "xss",
|
||||
"main": "./lib/index.js",
|
||||
"version": "0.1.18",
|
||||
"version": "0.1.19",
|
||||
"description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. 根据白名单过滤HTML(防止XSS攻击)",
|
||||
"author": "leizongmin <leizongmin@gmail.com> (http://ucdok.com)",
|
||||
"contributors": [
|
||||
|
||||
Reference in New Issue
Block a user