pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ruby-loofah



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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/ruby-loofah/Makefile \
    pkgsrc/www/ruby-loofah/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/ruby-loofah/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ruby-loofah/Makefile
diff -u pkgsrc/www/ruby-loofah/Makefile:1.5 pkgsrc/www/ruby-loofah/Makefile:1.6
--- pkgsrc/www/ruby-loofah/Makefile:1.5 Thu Nov  1 16:11:45 2018
+++ pkgsrc/www/ruby-loofah/Makefile     Tue Oct 22 16:24:20 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/11/01 16:11:45 taca Exp $
+# $NetBSD: Makefile,v 1.6 2019/10/22 16:24:20 taca Exp $
 
-DISTNAME=      loofah-2.2.3
+DISTNAME=      loofah-2.3.1
 CATEGORIES=    www
 
 MAINTAINER=    minskim%NetBSD.org@localhost
Index: pkgsrc/www/ruby-loofah/distinfo
diff -u pkgsrc/www/ruby-loofah/distinfo:1.5 pkgsrc/www/ruby-loofah/distinfo:1.6
--- pkgsrc/www/ruby-loofah/distinfo:1.5 Thu Nov  1 16:11:45 2018
+++ pkgsrc/www/ruby-loofah/distinfo     Tue Oct 22 16:24:20 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/11/01 16:11:45 taca Exp $
+$NetBSD: distinfo,v 1.6 2019/10/22 16:24:20 taca 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

Index: pkgsrc/www/ruby-loofah/PLIST
diff -u pkgsrc/www/ruby-loofah/PLIST:1.4 pkgsrc/www/ruby-loofah/PLIST:1.5
--- pkgsrc/www/ruby-loofah/PLIST:1.4    Thu Nov  1 16:11:45 2018
+++ pkgsrc/www/ruby-loofah/PLIST        Tue Oct 22 16:24:20 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/11/01 16:11:45 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/10/22 16:24:20 taca 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



Home | Main Index | Thread Index | Old Index