helmetjs / helmet

Help secure Express apps with various HTTP headers

Home Page:https://helmetjs.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

helmet + sanitizeFilter

mejrimo opened this issue · comments

i read on the internet that you can use helmet and mongoose's sanitizer this way:
app.use(helmet({
sanitizeFilter: true,
}));
but i can't find it in your documentation. so i'm guessing if this is true and if it works the same way of mongoose.set("sanitizeFilter", true);.

thank you very much in advance for your reply

I'm not familiar with Mongoose but this isn't a Helmet option. It looks like something that's part of Mongoose.

Hope this helps!