Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bugthesystem committed Jan 1, 2015
1 parent ffd1e37 commit 5c41cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -26,7 +26,7 @@ This middleware sanitize req.body or req.query and adds a `req.dirty` flasg to i
- `sanitizeBody` Boolean - Optional. If the req.body sanitize is enabled or not. Defaults to `true`
- `sanitizeQuery` Boolean - Optional. If the req.query sanitize is enabled or not. Defaults to `true`
- `mode` String -Optional. A flag to choose mode (sanitize | header)
* `sanitize`: String - Optional. Works on request body or query and sanitize it if xss exist.
* `sanitize`: Works on request body or query and sanitize it if xss exist.
* `header`: Adds `X-XSS-Protection` header to response.
- `header` Options for `header` mode (enabled, mode)
* `enabled` Boolean - Optional. If the header is enabled or not (see header docs). Defaults to `1`.
Expand Down

0 comments on commit 5c41cd5

Please sign in to comment.