Port details |
- p5-Plack-Middleware-NoMultipleSlashes Remove multiple slashes in your paths automatically
- 0.001 www
=2 0.001Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2015-12-11 13:39:44
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Plack-Middleware-NoMultipleSlashes
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Plack-Middleware-NoMultipleSlashes>0:www/p5-Plack-Middleware-NoMultipleSlashes
- To install the port:
- cd /usr/ports/www/p5-Plack-Middleware-NoMultipleSlashes/ && make install clean
- To add the package, run one of these commands:
- pkg install www/p5-Plack-Middleware-NoMultipleSlashes
- pkg install p5-Plack-Middleware-NoMultipleSlashes
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Plack-Middleware-NoMultipleSlashes
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = bdc37f1089556e5bf78f2421df1073d0c3d1cc356a73205f478e5fc78b152ee3
SIZE (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = 10535
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Plack>=0 : www/p5-Plack
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Plack>=0 : www/p5-Plack
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_p5-Plack-Middleware-NoMultipleSlashes
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.001 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.001 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.001 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.001 06 Oct 2018 13:06:45
  |
des  |
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw) |
0.001 27 May 2018 20:15:20
  |
sunpoet  |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
0.001 16 May 2018 00:01:27
  |
sunpoet  |
Fix LICENSE
- Update COMMENT
- Add NO_ARCH
- Update pkg-descr
- Take maintainership |
0.001 23 Mar 2018 16:33:12
  |
swills  |
Reset maintainer
Requested by: Jeremy Baggs <jeremybbaggs@gmail.com> (maintainer, via private
email) |
0.001 01 Apr 2016 14:33:58
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat: portmgr
Sponsored by: Absolight |
0.001 11 Dec 2015 13:39:36
  |
miwi  |
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 |