* Discard invalid Referer header. If an invalid Referer header such as "http://example.com/bad|uri" is provided, ignore the value of it and skip using the Host header fallback. * refactor instantiation. * fix typoed header name. * clarify reaction warning, test it.
14 lines
400 B
Makefile
14 lines
400 B
Makefile
# $NetBSD: Makefile,v 1.7 2015/03/13 17:26:00 taca Exp $
|
|
|
|
DISTNAME= rack-protection-1.5.3
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://github.com/rkh/rack-protection
|
|
COMMENT= Protection for against typical web attacks for Rack application
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=0:../../www/ruby-rack
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|