FreshPorts -- The Place For Ports notbugIf you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

test-nginx01 & pg02
Port details
p5-Plack-Middleware-NoMultipleSlashes Remove multiple slashes in your paths automatically
0.001 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 11 Dec 2015 13:39:44
Also Listed In: perl5
License: ART10 GPLv1+
Plack::Middleware::NoMultipleSlashes removes all multiple slashes from your
PATH_INFO.

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
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (6 items)
  1. /usr/local/share/licenses/p5-Plack-Middleware-NoMultipleSlashes-0.001/catalog.mk
  2. /usr/local/share/licenses/p5-Plack-Middleware-NoMultipleSlashes-0.001/LICENSE
  3. /usr/local/share/licenses/p5-Plack-Middleware-NoMultipleSlashes-0.001/ART10
  4. /usr/local/share/licenses/p5-Plack-Middleware-NoMultipleSlashes-0.001/GPLv1+
  5. lib/perl5/site_perl/Plack/Middleware/NoMultipleSlashes.pm
  6. lib/perl5/site_perl/man/man3/Plack::Middleware::NoMultipleSlashes.3.gz
  7. Collapse this list.

To install the port: cd /usr/ports/www/p5-Plack-Middleware-NoMultipleSlashes/ && make install clean
To add the package: pkg install p5-Plack-Middleware-NoMultipleSlashes

PKGNAME: p5-Plack-Middleware-NoMultipleSlashes

distinfo:

SHA256 (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = bdc37f1089556e5bf78f2421df1073d0c3d1cc356a73205f478e5fc78b152ee3
SIZE (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = 10535


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-Plack>=0 : www/p5-Plack
  2. perl5>=5.26<5.27 : lang/perl5.26
Runtime dependencies:
  1. p5-Plack>=0 : www/p5-Plack
  2. perl5>=5.26<5.27 : lang/perl5.26
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Plack/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Plack/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Plack/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Plack/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Plack/
  7. http://backpan.perl.org/modules/by-module/Plack/
  8. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Plack/
  9. http://www.cpan.dk/modules/by-module/Plack/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Plack/
  12. https://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Plack/
  13. https://www.cpan.org/modules/by-module/Plack/

Number of commits found: 5

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
27 May 2018 20:15:20
Original commit files touched by this commit  0.001
Revision:470993
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
16 May 2018 00:01:27
Original commit files touched by this commit  0.001
Revision:470097
sunpoet search for other commits by this committer
Fix LICENSE

- Update COMMENT
- Add NO_ARCH
- Update pkg-descr
- Take maintainership
23 Mar 2018 16:33:12
Original commit files touched by this commit  0.001
Revision:465366
swills search for other commits by this committer
Reset maintainer

Requested by:	Jeremy Baggs <jeremybbaggs@gmail.com> (maintainer, via private
email)
01 Apr 2016 14:33:58
Original commit files touched by this commit  0.001
Revision:412351
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.

With hat:	portmgr
Sponsored by:	Absolight
11 Dec 2015 13:39:36
Original commit files touched by this commit  0.001
Revision:403528
miwi search for other commits by this committer
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

Number of commits found: 5

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.