LEI Zongmin

Results 45 comments of LEI Zongmin

I have published a new version `[email protected]` including the following changes: - [Fix whitespace bypass #218](https://github.com/leizongmin/js-xss/pull/218/files) by @TomAnthony - [Add `` to default whitelist #216](https://github.com/leizongmin/js-xss/pull/216) by @spacegaier - [Add ``...

The main function of this module is to filter out illegal HTML code based on a whitelist. If **the input contains non-whitelist tags means it is vulnerable**, then you can...

能说说不用**createWriteStream**而用数组的原因么?

在fs模块中,写到文件时还是要转换成Buffer的 ``` fs.write = function(fd, buffer, offset, length, position, callback) { if (!Buffer.isBuffer(buffer)) { // legacy string interface (fd, data, position, encoding, callback) callback = arguments[4]; position = arguments[2]; buffer...

搞个**package.json**文件出来呐,否则要下载来试试都麻烦,一堆的依赖库,还得自己一个一个安装