Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helmet + sanitizeFilter #442

Closed
mejrimo opened this issue Oct 12, 2023 · 1 comment
Closed

helmet + sanitizeFilter #442

mejrimo opened this issue Oct 12, 2023 · 1 comment

Comments

@mejrimo
Copy link

mejrimo commented Oct 12, 2023

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

@mejrimo mejrimo changed the title helmet + sanitizerFilter helmet + sanitizeFilter Oct 12, 2023
@EvanHahn
Copy link
Member

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!

@EvanHahn EvanHahn closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants