diff options
author | miwi <miwi@FreeBSD.org> | 2015-12-11 21:39:36 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2015-12-11 21:39:36 +0800 |
commit | 0573e4fe2de7bc5f89b1b2e974bad223aaa13287 (patch) | |
tree | afb08b77cf07cd7d563661a779737236d1a35ff0 | |
parent | d1f8a6ce496b53d054c96b832f5e17d346929e05 (diff) | |
download | freebsd-ports-gnome-0573e4fe2de7bc5f89b1b2e974bad223aaa13287.tar.gz freebsd-ports-gnome-0573e4fe2de7bc5f89b1b2e974bad223aaa13287.tar.zst freebsd-ports-gnome-0573e4fe2de7bc5f89b1b2e974bad223aaa13287.zip |
Plack Middleware. By enabling this middleware, all multiple slashes in your
requests will automatically be cut. //hello///world becomes /hello/world.
Simple as that.
WWW: http://search.cpan.org/dist/Plack-Middleware-NoMultipleSlashes/
PR: 204068
Submitted by: jeremybbaggs@gmail.com
Approved by: mat (mentor)
Differential Revision: D4500
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-NoMultipleSlashes/Makefile | 21 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-NoMultipleSlashes/distinfo | 2 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr | 5 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist | 2 |
5 files changed, 31 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 73a5b9a7b707..7ae1deb0bae8 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1150,6 +1150,7 @@ SUBDIR += p5-Plack-Middleware-JSConcat SUBDIR += p5-Plack-Middleware-MemoryUsage SUBDIR += p5-Plack-Middleware-MethodOverride + SUBDIR += p5-Plack-Middleware-NoMultipleSlashes SUBDIR += p5-Plack-Middleware-Precompressed SUBDIR += p5-Plack-Middleware-RemoveRedundantBody SUBDIR += p5-Plack-Middleware-Reproxy diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile b/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile new file mode 100644 index 000000000000..0308db756150 --- /dev/null +++ b/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= Plack-Middleware-NoMultipleSlashes +PORTVERSION= 0.001 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= jeremybbaggs@gmail.com +COMMENT= Automatically remove multiple slashes in your paths + +LICENSE= GPLv1 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Plack>=0:${PORTSDIR}/www/p5-Plack +RUN_DEPENDS= p5-Plack>=0:${PORTSDIR}/www/p5-Plack + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo b/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo new file mode 100644 index 000000000000..7201f20d0cce --- /dev/null +++ b/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo @@ -0,0 +1,2 @@ +SHA256 (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = bdc37f1089556e5bf78f2421df1073d0c3d1cc356a73205f478e5fc78b152ee3 +SIZE (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = 10535 diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr new file mode 100644 index 000000000000..5f6f2472fa85 --- /dev/null +++ b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr @@ -0,0 +1,5 @@ +Plack Middleware. By enabling this middleware, all multiple slashes in your +requests will automatically be cut. //hello///world becomes /hello/world. +Simple as that. + +WWW: http://search.cpan.org/dist/Plack-Middleware-NoMultipleSlashes/ diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist new file mode 100644 index 000000000000..b355a244f3c3 --- /dev/null +++ b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Plack/Middleware/NoMultipleSlashes.pm +%%PERL5_MAN3%%/Plack::Middleware::NoMultipleSlashes.3.gz |