Zongmin Lei
|
814b58125f
|
update LICENSE
|
2018-05-24 15:21:45 +08:00 |
|
Zongmin Lei
|
4f71124bde
|
fix README
|
2018-05-24 15:21:20 +08:00 |
|
Zongmin Lei
|
5647790cfb
|
fix(README): issue #137 xss.js URL
|
2018-05-24 15:20:02 +08:00 |
|
Zongmin Lei
|
123a5a7d30
|
use semver, publish v1.0.0
|
2018-05-24 15:10:35 +08:00 |
|
Zongmin Lei
|
b3ba8da3f2
|
publish: 0.3.8
|
2018-04-13 22:20:52 +08:00 |
|
老雷
|
019e37f86d
|
Merge pull request #127 from BlackGlory/patch-2
Fix OnTagAttrHandler definition
|
2018-04-13 22:17:39 +08:00 |
|
老雷
|
64e03b67a4
|
Merge pull request #126 from BlackGlory/patch-1
Add IFilterXSSOptions.stripIgnoreTag definition
|
2018-04-13 22:17:15 +08:00 |
|
老雷
|
4ca3e82b2c
|
Merge pull request #121 from leizongmin/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
|
2018-04-13 22:16:51 +08:00 |
|
BlackGlory
|
a40177ebdc
|
Fix OnTagAttrHandler definition
|
2018-03-06 12:21:01 +08:00 |
|
BlackGlory
|
16cf124a69
|
Add IFilterXSSOptions.stripIgnoreTag definition
|
2018-03-06 11:47:21 +08:00 |
|
Zongmin Lei
|
1811054bc4
|
publish v0.3.7 dist
|
2017-12-29 09:54:24 +08:00 |
|
Zongmin Lei
|
7b474082d7
|
publish v0.3.7
|
2017-12-29 09:53:38 +08:00 |
|
Zongmin Lei
|
2b853a9d8d
|
fix issue #122 use undefined variable currentHtml
|
2017-12-29 09:53:17 +08:00 |
|
Zongmin Lei
|
c3eac344e4
|
publish v0.3.6
|
2017-12-21 15:07:25 +08:00 |
|
Zongmin Lei
|
17f322fde2
|
fix issue #120, tag in whiteList should be replaced with whiteList.hasOwnProperty(tag)
|
2017-12-21 15:06:39 +08:00 |
|
Zongmin Lei
|
46bb99dd67
|
add more versions to .travis.yml
|
2017-12-21 14:25:17 +08:00 |
|
Zongmin Lei
|
9b85b8f2d6
|
reformat by prettier
|
2017-12-21 14:22:34 +08:00 |
|
Zongmin Lei
|
32a4bece31
|
translate all comments to English
|
2017-12-21 14:19:10 +08:00 |
|
greenkeeper[bot]
|
d1c8920f46
|
docs(readme): add Greenkeeper badge
|
2017-12-21 03:32:57 +00:00 |
|
greenkeeper[bot]
|
2137dfe851
|
chore(package): update dependencies
|
2017-12-21 03:32:54 +00:00 |
|
Zongmin Lei
|
2deacabc3f
|
publish v0.3.5
|
2017-12-13 23:46:15 +08:00 |
|
老雷
|
639e69abdc
|
Merge pull request #119 from mediamanDE/feature/added_tel_number_to_xss
added tel number handling for links
|
2017-12-13 23:44:47 +08:00 |
|
Christian Schoeppler
|
2728bb88f7
|
added tel number handling for links
|
2017-11-24 13:57:30 +01:00 |
|
Zongmin Lei
|
7bfd985575
|
v0.3.3
|
2017-09-01 16:08:46 +08:00 |
|
老雷
|
558566fb28
|
Merge pull request #112 from zTree/master
支持 html 标签内的 \t \n 符号处理
|
2017-09-01 15:06:22 +08:00 |
|
ztree
|
903769c37d
|
passed test:
assert.equal(xss('<a\ttarget="_blank"\ntitle="bbb">'), '<a target="_blank" title="bbb">');
assert.equal(xss('<a\ntarget="_blank"\ttitle="bbb">'), '<a target="_blank" title="bbb">');
assert.equal(xss('<a\n\n\n\ttarget="_blank"\t\t\t\ntitle="bbb">'), '<a target="_blank" title="bbb">');
|
2017-08-31 16:41:44 +08:00 |
|
ztree
|
a3982311a9
|
HTML Tag 内的属性间隔支持 \t
|
2017-08-30 10:10:39 +08:00 |
|
Zongmin Lei
|
8c0b78f2af
|
test: add more test
|
2017-08-29 14:10:31 +08:00 |
|
Zongmin Lei
|
e426e8cfe7
|
style: fix test indent format
|
2017-08-29 13:58:36 +08:00 |
|
老雷
|
e4ff2cf93a
|
Merge pull request #109 from zTree/master
parseAttr 对特殊 html 进行支持(例如 word 复制的 html 内容)
|
2017-08-29 13:56:00 +08:00 |
|
老雷
|
9d59737c29
|
Merge pull request #100 from leizongmin/greenkeeper-uglify-js-3.0.14
Update uglify-js to version 3.0.14 🚀
|
2017-08-29 13:53:52 +08:00 |
|
zTree
|
9602b21171
|
Update xss.js
对特殊 html 进行支持(例如 word 复制的 html 内容)
如果只通过 空格进行区分,就会出现以下问题:
```
<img width=100 height=200
src='....'/>
```
这种没有空格,只有换行的 html 转换后会变为
```
<img width="100" height="200 src="...."“/>
```
|
2017-08-21 10:57:04 +08:00 |
|
zTree
|
b0fa6e9fc1
|
Update parser.js
对特殊 html 进行支持(例如 word 复制的 html 内容)
如果只通过 空格进行区分,就会出现以下问题:
```
<img width=100 height=200
src='....'/>
```
这种没有空格,只有换行的 html 转换后会变为
```
<img width="100" height="200 src="...."“/>
```
|
2017-08-21 10:54:15 +08:00 |
|
Zongmin Lei
|
2b7aa8432e
|
test: 增加测试用例
|
2017-07-12 19:32:43 +08:00 |
|
greenkeeperio-bot
|
94b167870c
|
chore(package): update uglify-js to version 3.0.14
https://greenkeeper.io/
|
2017-05-31 17:02:09 +08:00 |
|
Zongmin Lei
|
38b9c60290
|
update bower.json version: v0.3.3
|
2017-05-09 12:15:30 +08:00 |
|
老雷
|
a8e4c7e23c
|
Merge pull request #71 from leizongmin/greenkeeper-cssfilter-0.0.10
Update cssfilter to version 0.0.10 🚀
|
2017-03-20 17:20:59 +08:00 |
|
老雷
|
fb8141a7dc
|
Merge pull request #78 from leizongmin/greenkeeper-uglify-js-2.8.14
uglify-js@2.8.14 breaks build 🚨
|
2017-03-20 17:20:48 +08:00 |
|
老雷
|
b10ab86bf1
|
Merge pull request #74 from leizongmin/greenkeeper-browserify-14.1.0
Update browserify to version 14.1.0 🚀
|
2017-03-20 17:20:39 +08:00 |
|
greenkeeperio-bot
|
84b9d1c998
|
chore(package): update uglify-js to version 2.8.14
https://greenkeeper.io/
|
2017-03-19 16:34:00 +08:00 |
|
老雷
|
84d06c74ba
|
Merge pull request #76 from pgilad/patch-1
Update README.md
|
2017-03-03 11:52:22 +08:00 |
|
Gilad Peleg
|
cae59cb043
|
Update README.md
|
2017-02-20 21:27:44 +02:00 |
|
greenkeeperio-bot
|
f9235ad20e
|
chore(package): update browserify to version 14.1.0
https://greenkeeper.io/
|
2017-02-14 12:23:39 +08:00 |
|
greenkeeperio-bot
|
25ba5f9894
|
chore(package): update cssfilter to version 0.0.10
https://greenkeeper.io/
|
2017-02-01 10:55:22 +08:00 |
|
Zongmin Lei
|
18e0258ff2
|
v0.3.3
|
2016-12-20 09:14:28 +08:00 |
|
Zongmin Lei
|
3ecf8542a0
|
fix: issue #66 no options mutated
|
2016-12-20 09:13:35 +08:00 |
|
Zongmin Lei
|
1648cbfee2
|
v0.3.2
|
2016-12-02 10:54:16 +08:00 |
|
Zongmin Lei
|
6313322abd
|
fix #60 typings
|
2016-12-02 10:53:59 +08:00 |
|
Zongmin Lei
|
821474541a
|
v0.3.1 publish new version fix #60
|
2016-11-17 11:37:04 +08:00 |
|
Zongmin Lei
|
9016b9c76b
|
Add support for typescript (fix #60)
|
2016-11-17 10:40:38 +08:00 |
|