www/ruby-padrino-contrib: fix CVE-2019-16145
Add fix for CVE-2019-16145 from upstream commit. Bump PKGREVISION.
This commit is contained in:
parent
b33a809193
commit
2960fc75e7
3 changed files with 29 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.5 2017/09/19 16:36:07 taca Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2021/12/28 14:39:55 taca Exp $
|
||||
|
||||
DISTNAME= padrino-contrib-0.2.0
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.5 2021/10/26 11:31:01 nia Exp $
|
||||
$NetBSD: distinfo,v 1.6 2021/12/28 14:39:55 taca Exp $
|
||||
|
||||
BLAKE2s (padrino-contrib-0.2.0.gem) = 1ed1811b168267aafe6009ecbd47403e3a597e35637a4522aa44a3edbbcc2959
|
||||
SHA512 (padrino-contrib-0.2.0.gem) = 759191530f0dc2c5e13388617659938f07ac786eca552768ff568d4ae6cf62cc6d5c95439f9e17e351d669b62b8383bc733b6d0b34fbaf311005f6226345f276
|
||||
Size (padrino-contrib-0.2.0.gem) = 17920 bytes
|
||||
SHA1 (patch-lib_padrino-contrib_helpers_breadcrumbs.rb) = dc965d21997671bf4beaa44c925b609b733f6d36
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
$NetBSD: patch-lib_padrino-contrib_helpers_breadcrumbs.rb,v 1.1 2021/12/28 14:39:55 taca Exp $
|
||||
|
||||
Fix for CVE-2019-16145 from upstream commit:
|
||||
662616162265a74da5a35b55c10f85d8168fc635.
|
||||
|
||||
--- lib/padrino-contrib/helpers/breadcrumbs.rb.orig 2021-12-28 14:30:14.586323532 +0000
|
||||
+++ lib/padrino-contrib/helpers/breadcrumbs.rb
|
||||
@@ -37,7 +37,7 @@ module Padrino
|
||||
def set_home(url, caption, options = {})
|
||||
self.home = {
|
||||
:url => url.to_s,
|
||||
- :caption => caption.to_s.humanize.html_safe,
|
||||
+ :caption => caption.to_s.humanize,
|
||||
:name => :home,
|
||||
:options => options
|
||||
}
|
||||
@@ -96,7 +96,7 @@ module Padrino
|
||||
items << {
|
||||
:name => name.to_sym,
|
||||
:url => url.to_s,
|
||||
- :caption => caption.to_s.humanize.html_safe,
|
||||
+ :caption => caption.to_s.humanize,
|
||||
:options => options
|
||||
}
|
||||
end
|
Loading…
Reference in a new issue