p5-Plack-Middleware-NoMultipleSlashes - Remove multiple slashes in your paths automatically

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename p5-Plack-Middleware-NoMultipleSlashes-0.001.txz
Package name p5-Plack-Middleware-NoMultipleSlashes
Package version 0.001
Package release -
Package architecture amd64
Package type txz
Category perl5 www
Homepage https://metacpan.org/release/Plack-Middleware-NoMultipleSlashes
License GPLv1+, ART10
Maintainer sunpoet@FreeBSD.org
Download size 10.25 KB
Installed size 40.48 KB
Plack::Middleware::NoMultipleSlashes removes all multiple slashes from your
Multiple slashes in requests are a common problem, which many share. Apparently,
the RFC states that you should be able to expect different results from
http://server/ and http://server// (notice the second slash), so if the
frameworks wish to maintain RFC compatibility, they cannot remove those extra
slashes for you.
While you can handle this issue in a reverse proxy, in a rewrite module or in
your code, I find it more comfortable to have Plack take care of it in the thin
layer called Middlewares.
By enabling this middleware, all multiple slashes in your requests will
automatically be cut. //hello///world becomes /hello/world. Simple as that.
WWW: https://metacpan.org/release/Plack-Middleware-NoMultipleSlashes


Package Version Architecture Repository
p5-Plack-Middleware-NoMultipleSlashes-0.001.txz 0.001 i386 FreeBSD Ports Quarterly
p5-Plack-Middleware-NoMultipleSlashes-0.001.txz 0.001 amd64 FreeBSD Ports Quarterly
p5-Plack-Middleware-NoMultipleSlashes-0.001.txz 0.001 i386 FreeBSD Ports Latest
p5-Plack-Middleware-NoMultipleSlashes - - -


Name Value
p5-Plack = 1.0047
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-Plack-Middleware-NoMultipleSlashes-0.001.txz
Source Package www/p5-Plack-Middleware-NoMultipleSlashes

Install Howto

Install p5-Plack-Middleware-NoMultipleSlashes txz package:

# pkg install p5-Plack-Middleware-NoMultipleSlashes

See Also

Package Description
p5-Plack-Middleware-Precompressed-1.103.txz Perl extension to serve pre-gzipped content to capable clients
p5-Plack-Middleware-RemoveRedundantBody-0.09.txz Sets removes body for HTTP response if it is not required
p5-Plack-Middleware-Reproxy-0.00004_1.txz Perl extension to handle X-Reproxy-URL from within Plack
p5-Plack-Middleware-ReverseProxy-0.15_1.txz Perl extension to support app to run as a reverse proxy backend
p5-Plack-Middleware-Rewrite-2.101.txz mod_rewrite for Plack
p5-Plack-Middleware-ServerStatus-Lite-0.34_2.txz Plack middleware to show server status like Apache mod_status
p5-Plack-Middleware-Session-0.30.txz Perl extension for session management middleware for Plack
p5-Plack-Middleware-SocketIO-0.00904_2.txz Perl extension for Socket.IO Plack middleware
p5-Plack-Middleware-Status-1.101150_1.txz Perl extension to map urls to status code-driven responses for Plack
p5-Plack-Middleware-Test-StashWarnings-0.08_1.txz Test your application's warnings
p5-Plack-Middleware-Throttle-0.01_1.txz Perl extension of rate-limiting incoming HTTP requests for Plack
p5-Plack-Middleware-XForwardedFor-0.172050.txz Plack middleware to handle X-Forwarded-For headers
p5-Plack-Server-Coro-0.02_1.txz Perl extension for Coro cooperative multithread web server
p5-Plack-Server-POE-0.4_1.txz Perl extension for Plack Server implementation for POE
p5-Plack-Server-ReverseHTTP-0.02_1.txz Perl extension of reversehttp gateway for PSGI application