All crates

xss-filters

Context-aware output encoders against cross-site scripting. Each filter applies the minimal encoding that stops an untrusted string from breaking out of its HTML context and running script, and the URI filters block protocols such as javascript: and data:. They target HTML and URI contexts only.

Install

cargo add xss-filters