Closed FeHuynhVI closed 2 months ago
app.use(sanitizer.clean({ xss: true, noSql: true, level: 5, allowedKeys: ['p', 'a', 'img'] }));
allowedKeys doesn't work for me either. Can someone look into this. Thanks,
The issue has been successfully resolved in the latest version 2.0.0
app.use(sanitizer.clean({ xss: true, noSql: true, level: 5, allowedKeys: ['p', 'a', 'img'] }));