ruby-rails-html-sanitizer - HTML sanitization for Rails applications

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe i386
Package name ruby-rails-html-sanitizer
Package version 1.0.3
Package release 2
Package architecture all
Package type deb
Installed size 41 B
Download size 8.32 KB
Official Mirror
This gem is responsible to sanitize HTML fragments in Rails applications. In
Rails 4.2 and above this gem will be responsible for sanitizing HTML fragments
in Rails applications, i.e. in the sanitize, sanitize_css, strip_tags and
strip_links methods.


Package Version Architecture Repository
ruby-rails-html-sanitizer_1.0.3-2_all.deb 1.0.3 all Ubuntu Universe
ruby-rails-html-sanitizer - - -


Name Value
ruby -
ruby-interpreter -
ruby-loofah -


Type URL
Binary Package ruby-rails-html-sanitizer_1.0.3-2_all.deb
Source Package ruby-rails-html-sanitizer

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ruby-rails-html-sanitizer deb package:
    # sudo apt-get install ruby-rails-html-sanitizer




2016-03-05 - Christian Hofstaedtler <>
ruby-rails-html-sanitizer (1.0.3-2) unstable; urgency=medium
* Team upload.
[ C├ędric Boutillier ]
* Bump debhelper compatibility level to 9
* Use https:// in Vcs-* fields
* Bump Standards-Version to 3.9.7 (no changes needed)
[ Christian Hofstaedtler ]
* Drop ruby-rails from Depends, as no lib code actually loads rails;
makes the dependency cycle a little less bad.
2016-01-26 - Antonio Terceiro <>
ruby-rails-html-sanitizer (1.0.3-1) unstable; urgency=high
* New upstream release. Contains fixes for several XSS vulnerabilities:
CVE-2015-7578 CVE-2015-7579 CVE-2015-7580 (Closes: #812814)
* debian/ruby-tests.rake: re-enable test that was disabled
* 0001-Skip-some-tests-under-Debian.patch: skip tests where the sanitized
HTML is XSS-free but does not match the exact content expected by the
upstream test suite. I suspect that is due to Nokogiri not using its own
patched version of libxml2 in Debian, but can't be sure of that yet.
Also, the same tests would already fail on 1.0.2 if enabled.
2015-05-05 - Balasankar C <>
ruby-rails-html-sanitizer (1.0.2-1) unstable; urgency=medium
* Initial release (Closes: #784326)
* Disabled a test as it required gems which have Rails > 4.2.0 in its
dependency chain

See Also

Package Description
ruby-rails-i18n_4.0.8-1_all.deb common locale data and translations for Rails i18n
ruby-rails-observers_0.1.2-1_all.deb toolkit to build Rails observers (part of Rails)
ruby-rails-timeago_2.11.1-2_all.deb Rails Helper to create time tags usable for jQuery Timeago plugin
ruby-rails-tokeninput_1.7.0-1_all.deb jquery tokeninput automated install
ruby-rails_4.2.6-1_all.deb MVC ruby based framework geared for web application development
ruby-railties_4.2.6-1_all.deb tools for creating, working with, and running Rails applications
ruby-rainbow_2.0.0-1_all.deb extension of Ruby String class enabling colored text on ANSI terminals
ruby-raindrops_0.16.0-1build1_i386.deb Real-time stats for preforking Rack servers
ruby-raphael-rails_2.1.2~dfsg-1_all.deb Raphael JS as for rails applications
ruby-rb-inotify_0.9.7-1_all.deb A Ruby wrapper for Linux's inotify, using FFI
ruby-rbpdf-font_1.19.0-1_all.deb Ruby library for PDF generation (font definitions)
ruby-rbpdf_1.19.0-1_all.deb Ruby library for PDF generation
ruby-rbvmomi_1.8.2-1_all.deb Ruby interface to the VMware vSphere API
ruby-rc4_0.1.5-3_all.deb Ruby library implementing the RC4 algorithm
ruby-rchardet_1.3-3build1_all.deb Character encoding auto-detection for Ruby