Baroshem / nuxt-security

🛡 Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware
https://nuxt-security.vercel.app/
MIT License
743 stars 56 forks source link

feat: allow users to configure methods for XSSValidator #376

Closed GalacticHypernova closed 4 months ago

GalacticHypernova commented 4 months ago

Partially resolves #364

Types of changes

Description

This PR introduces a way for users to choose which methods they would like to add for the XSS validator to work.

Checklist:

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuxt-security ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2024 0:55am
GalacticHypernova commented 4 months ago

I have fixed some of the things you pointed out, I think it may be good now...?? I haven't worked much with modules so I may be missing something that is required to make it work as needed, sorry in advance!

Baroshem commented 4 months ago

Thanks @GalacticHypernova !

Looks good to me. I will merge it to 1.2.0 branch and test everything there :)

GalacticHypernova commented 4 months ago

Glad to help!