BSD Ports

www/p5-Data-Validate-URI 0.07 DragonFly

Common data validation methods for URIs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
perl5, www
Package size
9.0 KiB, 28.5 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

The newest version among them is 0.07, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/p5-Data-Validate-URI0.07 newestnone known-[email protected]-
FreeBSDwww/p5-Data-Validate-URI0.07 newestnone known-[email protected]-
HardenedBSDwww/p5-Data-Validate-URI0.07 newestno data-[email protected]-
GhostBSDwww/p5-Data-Validate-URI0.07 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Data-Validate-URI

From DPorts:

cd /usr/dports/www/p5-Data-Validate-URI && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.