ruby-sanitize 4.6.6-2.1~0.20.04.1 source package in Ubuntu
Changelog
ruby-sanitize (4.6.6-2.1~0.20.04.1) focal-security; urgency=medium * No change rebuild for focal. -- Mike Salvatore <email address hidden> Tue, 22 Sep 2020 15:39:11 -0400
Upload details
- Uploaded by:
- Mike Salvatore
- Uploaded to:
- Focal
- Original maintainer:
- Debian Ruby Extras Maintainers
- Architectures:
- all
- Section:
- ruby
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
ruby-sanitize_4.6.6.orig.tar.gz | 39.2 KiB | 5d5b72076d13b731638e6189a83988237a47ab4d8ce6bfa5aded31ec0f333238 |
ruby-sanitize_4.6.6-2.1~0.20.04.1.debian.tar.xz | 7.4 KiB | 7e0ffcedcf135723ab8046925d6c3b04285d209b393270da81c19b863ef340f1 |
ruby-sanitize_4.6.6-2.1~0.20.04.1.dsc | 2.1 KiB | 3ca94a865f2fa4c1aa2d094f3acaac8e864ce3e9453e9e65431d8386fe2668bb |
Available diffs
Binary packages built by this source
- ruby-sanitize: whitelist-based HTML sanitizer
Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable
elements and attributes, Sanitize will remove all unacceptable HTML from a
string.
.
Using a simple configuration syntax, you can tell Sanitize to allow certain
elements, certain attributes within those elements, and even certain URL
protocols within attributes that contain URLs. Any HTML elements or attributes
that you don't explicitly allow will be removed.
.
Because it's based on Nokogiri, a full-fledged HTML parser, rather than a bunch
of fragile regular expressions, Sanitize has no trouble dealing with malformed
or maliciously-formed HTML and returning safe output.