BSD Ports

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

SystemPortVersion
FreeBSDwww/p5-Data-Validate-URI0.07
DragonFlywww/p5-Data-Validate-URI0.07
HardenedBSDwww/p5-Data-Validate-URI0.07
GhostBSDwww/p5-Data-Validate-URI0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.070.070.070.070.07
FreeBSD:14:quarterly0.070.07n/a0.070.07
FreeBSD:15:latest0.070.07n/a0.070.07
FreeBSD:15:quarterly0.070.07n/an/an/a
FreeBSD:16:latest0.070.07n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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
FileSizeSHA256
Data-Validate-URI-0.07.tar.gz12505f06418d2a4603913d1b6ce52b167dd13e787e13bf2be325a065df7d408f79c60
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.