Skip to content

Commit

Permalink
Merge pull request #520 from janriemer/patch-1
Browse files Browse the repository at this point in the history
provide alternative lib for xss sanitization
  • Loading branch information
chriso committed Mar 21, 2016
2 parents 68a10cb + 05f7052 commit f80ef02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Passing anything other than a string is an error.

XSS sanitization was removed from the library in [2d5d6999](https://github.com/chriso/validator.js/commit/2d5d6999541add350fb396ef02dc42ca3215049e).

For an alternative, look at Yahoo's [xss-filters library](https://github.com/yahoo/xss-filters).
For an alternative, have a look at Yahoo's [xss-filters library](https://github.com/yahoo/xss-filters) or at [DOMPurify](https://github.com/cure53/DOMPurify).

### Tests

Expand Down

0 comments on commit f80ef02

Please sign in to comment.