Port details on branch 2022Q3 |
- p5-URI-Normalize Normalize URIs according to RFC 3986
- 0.002 www =0 0.002Version of this port present on the latest quarterly branch.
- Maintainer: dvl@FreeBSD.org
- Port Added: 2022-04-25 13:18:08
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: GPLv1 ART10
- WWW:
- https://metacpan.org/pod/URI::Normalize
- Description:
- URI::Normalize normalizes URIs according to RFC 3986.
This has a number of useful applications in allowing URIs to be compared with
fewer false negatives. For example, all of the following URIs will normalize to
the same value:
HTTPS://www.example.com:443/../test/../foo/index.html
https://WWW.EXAMPLE.COM/./foo/index.html
https://www.example.com/%66%6f%6f/index.html
https://www.example.com/foo/index.html
That is, they will all be normalized into the last value.
Example:
use URI;
use URI::Normalize qw( normalize_uri remove_dot_segments );
my $uri = URI->new('HTTPS://www.Example.com:443/../test/../foo/index.html');
say normalize_uri($uri); #> https://www.example.com/foo/index.html
say remove_dot_segments($uri); #> HTTPS://www.Example.com:443/foo/index.html
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-URI-Normalize>0:www/p5-URI-Normalize
- To install the port:
- cd /usr/ports/www/p5-URI-Normalize/ && make install clean
- To add the package, run one of these commands:
- pkg install www/p5-URI-Normalize
- pkg install p5-URI-Normalize
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-URI-Normalize
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1650631625
SHA256 (URI-Normalize-0.002.tar.gz) = e08b96b53f45bc2e4b1ffb1eddbbf85ae89e6177c7ad79ea112a2b92040b1e83
SIZE (URI-Normalize-0.002.tar.gz) = 10825
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:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-URI>0 : net/p5-URI
- 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-URI-Normalize
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|