www/p5-Data-Validate-URI 0.07 FreeBSD
Common data validation methods for URIs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- www, perl5
- Package size
- 9.6 KiB, 28.3 KiB installed
Description
This module collects common URI validation routines to make input validation, and untainting easier and more readable.
All functions return an untainted value if the test passes, and undef if it fails. This means that you should always check for a defined status explicitly. Don't assume the return will be true.
The value to test is always the first (and often only) argument.
There are a number of other URI validation modules out there as well. This one focuses on being fast, lightweight, and relatively 'real-world'. i.e. it's good if you want to check user input, and don't need to parse out the URI/URL into chunks.
Right now the module focuses on HTTP URIs, since they're arguably the most common.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-Data-Validate-URI | 0.07 |
| DragonFly | www/p5-Data-Validate-URI | 0.07 |
| HardenedBSD | www/p5-Data-Validate-URI | 0.07 |
| GhostBSD | www/p5-Data-Validate-URI | 0.07 |
Install
Binary package:
pkg install p5-Data-Validate-URI
From the ports tree:
cd /usr/ports/www/p5-Data-Validate-URI/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Data-Validate-URI>0:www/p5-Data-Validate-URI
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 |
| FreeBSD:14:quarterly | 0.07 | 0.07 | n/a | 0.07 | 0.07 |
| FreeBSD:15:latest | 0.07 | 0.07 | n/a | 0.07 | 0.07 |
| FreeBSD:15:quarterly | 0.07 | 0.07 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.07 | 0.07 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Data-Validate-Domain>=0: dns/p5-Data-Validate-Domainp5-Data-Validate-IP>=0: net-mgmt/p5-Data-Validate-IP
Runtime 2
p5-Data-Validate-Domain>=0: dns/p5-Data-Validate-Domainp5-Data-Validate-IP>=0: net-mgmt/p5-Data-Validate-IP
The full lists below include those, and their dependencies in turn.
Build dependencies 5
Run dependencies 5
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 11
- %%SITE_PERL%%/Data/Validate/URI.pm
- %%SITE_PERL%%/auto/Data/Validate/URI/new.al
- %%SITE_PERL%%/auto/Data/Validate/URI/is_uri.al
- %%SITE_PERL%%/auto/Data/Validate/URI/is_http_uri.al
- %%SITE_PERL%%/auto/Data/Validate/URI/is_https_uri.al
- %%SITE_PERL%%/auto/Data/Validate/URI/is_web_uri.al
- %%SITE_PERL%%/auto/Data/Validate/URI/is_tel_uri.al
- %%SITE_PERL%%/auto/Data/Validate/URI/_split_uri.al
- %%SITE_PERL%%/auto/Data/Validate/URI/_test_uri.al
- %%SITE_PERL%%/auto/Data/Validate/URI/autosplit.ix
- %%PERL5_MAN3%%/Data::Validate::URI.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Data-Validate-URI-0.07.tar.gz | 12505 | f06418d2a4603913d1b6ce52b167dd13e787e13bf2be325a065df7d408f79c60 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.