1.0.1 • Published 6 years ago

swagger-node-runner-sanitizer v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

swagger-node-runner-sanitizer

This module is a fitting for swagger-node-runner

See the example folder in how to implement this

What it does ?

This is a middleware that sanitizes your request to prevent XSS (using the sanitizer plugin) and NoSQL injection by filtering keys in objects that begin with a $ sign or contain a . and replacing them with the html codes.