Skip to content

Commit 48ae90a

Browse files
committed
dep: bump dependency on loofah
v2.19.1 has the new methods we're using: - Loofah::HTML5::Scrub.cdata_needs_escaping? - Loofah::HTML5::Scrub.cdata_escape - Loofah::HTML5::Scrub.scrub_uri_attribute - Loofah::HTML5::Scrub.scrub_attribute_that_allows_local_ref avoiding code duplication in this gem.
1 parent 0713caf commit 48ae90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails-html-sanitizer.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
2626

2727
# NOTE: There's no need to update this dependency for Loofah CVEs
2828
# in minor releases when users can simply run `bundle update loofah`.
29-
spec.add_dependency "loofah", "~> 2.3"
29+
spec.add_dependency "loofah", "~> 2.19", ">= 2.19.1"
3030

3131
spec.add_development_dependency "bundler", ">= 1.3"
3232
spec.add_development_dependency "rake"

0 commit comments

Comments
 (0)