summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2019-10-23 11:33:38 +0000
committerbsiegert <bsiegert@pkgsrc.org>2019-10-23 11:33:38 +0000
commit9374550dd663621eb9f469f0cc4d45677a1c9ebd (patch)
tree538684756220fe4c2a99cd467cd191d17ce89289
parent659ef95d66b1c202988e28eb3e886c94c57be1ec (diff)
downloadpkgsrc-9374550dd663621eb9f469f0cc4d45677a1c9ebd.tar.gz
Pullup ticket #6074 - requested by taca
www/ruby-loofah: seucurity fix Revisions pulled up: - www/ruby-loofah/Makefile 1.6 - www/ruby-loofah/PLIST 1.5 - www/ruby-loofah/distinfo 1.6 --- Module Name: pkgsrc Committed By: taca Date: Tue Oct 22 16:24:20 UTC 2019 Modified Files: pkgsrc/www/ruby-loofah: Makefile PLIST distinfo Log Message: www/ruby-loofah: update to 2.3.1 ## 2.3.1 / 2019-10-22 ### Security Address CVE-2019-15587: Unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. This CVE's public notice is at https://github.com/flavorjones/loofah/issues/171 ## 2.3.0 / unreleased ### Features * Expand set of allowed protocols to include `tel:` and `line:`. [#104, #147] * Expand set of allowed CSS functions. [related to #122] * Allow greater precision in shorthand CSS values. [#149] (Thanks, @danfstucky!) * Allow CSS property `list-style` [#162] (Thanks, @jaredbeck!) * Allow CSS keywords `thick` and `thin` [#168] (Thanks, @georgeclaghorn!) * Allow HTML property `contenteditable` [#167] (Thanks, @andreynering!) ### Bug fixes * CSS hex values are no longer limited to lowercase hex. Previously uppercase hex were scrubbed. [#165] (Thanks, @asok!) ### Deprecations / Name Changes The following method and constants are hereby deprecated, and will be completely removed in a future release: * Deprecate `Loofah::Helpers::ActionView.white_list_sanitizer`, please use `Loofah::Helpers::ActionView.safe_list_sanitizer` instead. * Deprecate `Loofah::Helpers::ActionView::WhiteListSanitizer`, please use `Loofah::Helpers::ActionView::SafeListSanitizer` instead. * Deprecate `Loofah::HTML5::WhiteList`, please use `Loofah::HTML5::SafeList` instead. Thanks to @JuanitoFatas for submitting these changes in #164 and for making the language used in Loofah more inclusive.
-rw-r--r--www/ruby-loofah/Makefile4
-rw-r--r--www/ruby-loofah/PLIST5
-rw-r--r--www/ruby-loofah/distinfo10
3 files changed, 10 insertions, 9 deletions
diff --git a/www/ruby-loofah/Makefile b/www/ruby-loofah/Makefile
index 9fde1f1afae..6cec2d5e7a3 100644
--- a/www/ruby-loofah/Makefile
+++ b/www/ruby-loofah/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/11/01 16:11:45 taca Exp $
+# $NetBSD: Makefile,v 1.5.8.1 2019/10/23 11:33:38 bsiegert Exp $
-DISTNAME= loofah-2.2.3
+DISTNAME= loofah-2.3.1
CATEGORIES= www
MAINTAINER= minskim@NetBSD.org
diff --git a/www/ruby-loofah/PLIST b/www/ruby-loofah/PLIST
index c5234f7d105..d253add9005 100644
--- a/www/ruby-loofah/PLIST
+++ b/www/ruby-loofah/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/11/01 16:11:45 taca Exp $
+@comment $NetBSD: PLIST,v 1.4.8.1 2019/10/23 11:33:38 bsiegert Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/CHANGELOG.md
@@ -18,8 +18,8 @@ ${GEM_LIBDIR}/lib/loofah/helpers.rb
${GEM_LIBDIR}/lib/loofah/html/document.rb
${GEM_LIBDIR}/lib/loofah/html/document_fragment.rb
${GEM_LIBDIR}/lib/loofah/html5/libxml2_workarounds.rb
+${GEM_LIBDIR}/lib/loofah/html5/safelist.rb
${GEM_LIBDIR}/lib/loofah/html5/scrub.rb
-${GEM_LIBDIR}/lib/loofah/html5/whitelist.rb
${GEM_LIBDIR}/lib/loofah/instance_methods.rb
${GEM_LIBDIR}/lib/loofah/metahelpers.rb
${GEM_LIBDIR}/lib/loofah/scrubber.rb
@@ -30,6 +30,7 @@ ${GEM_LIBDIR}/test/assets/msword.html
${GEM_LIBDIR}/test/assets/testdata_sanitizer_tests1.dat
${GEM_LIBDIR}/test/helper.rb
${GEM_LIBDIR}/test/html5/test_sanitizer.rb
+${GEM_LIBDIR}/test/html5/test_scrub.rb
${GEM_LIBDIR}/test/integration/test_ad_hoc.rb
${GEM_LIBDIR}/test/integration/test_helpers.rb
${GEM_LIBDIR}/test/integration/test_html.rb
diff --git a/www/ruby-loofah/distinfo b/www/ruby-loofah/distinfo
index 9d5771c0f53..51945a0602b 100644
--- a/www/ruby-loofah/distinfo
+++ b/www/ruby-loofah/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/11/01 16:11:45 taca Exp $
+$NetBSD: distinfo,v 1.5.8.1 2019/10/23 11:33:38 bsiegert Exp $
-SHA1 (loofah-2.2.3.gem) = b907029ec05b39a8f239a83c443e5cf94baecfad
-RMD160 (loofah-2.2.3.gem) = 7da4488ecc2a3c341a3716e0286e556b20bde270
-SHA512 (loofah-2.2.3.gem) = 8e63e1d4e3719c2ffcc8cf3208dbdfa3eb6e328bb91fc8dc6de88c472aac47f1a22771928b08f3c6816c159c6a9672299823f5d48177ae543358e73444b8ac56
-Size (loofah-2.2.3.gem) = 65536 bytes
+SHA1 (loofah-2.3.1.gem) = 732be438c5a2a3c7e63a8f173b24b05f78df1ff2
+RMD160 (loofah-2.3.1.gem) = 382991856327a36978f2c47ccda2b1185338f412
+SHA512 (loofah-2.3.1.gem) = 188e84818abc3a3eed39afd66a75e7fa3c0a29f8ec957441f43f4cbfd962c8c3ea848e83f435a3d61ffc667273b5ff006df39d718b7631a11b62ae2d3f78b6ba
+Size (loofah-2.3.1.gem) = 68096 bytes