pariazar / perfect-express-sanitizer

a complete package to control user input data to prevent Cross Site Scripting (XSS) ,Sql injection and no Sql injection attack
https://www.npmjs.com/package/perfect-express-sanitizer
MIT License
15 stars 2 forks source link

allowedKeys not working #15

Closed FeHuynhVI closed 2 months ago

FeHuynhVI commented 1 year ago

app.use(sanitizer.clean({ xss: true, noSql: true, level: 5, allowedKeys: ['p', 'a', 'img'] }));

SFaraji commented 5 months ago

allowedKeys doesn't work for me either. Can someone look into this. Thanks,

pariazar commented 3 months ago

The issue has been successfully resolved in the latest version 2.0.0