cvs commit: ports/www Makefile ports/www/p5-Data-Validate-URI
Makefile distinfo pkg-descr pkg-plist
Martin Wilke
miwi at FreeBSD.org
Mon Jan 14 03:42:28 PST 2008
miwi 2008-01-14 11:42:27 UTC
FreeBSD ports repository
Modified files:
www Makefile
Added files:
www/p5-Data-Validate-URI Makefile distinfo pkg-descr pkg-plist
Log:
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.
WWW: http://search.cpan.org/dist/Data-Validate-URI
PR: ports/119264
Submitted by: Tuc <freebsd-ports at t-b-o-h.net>
Revision Changes Path
1.1946 +1 -0 ports/www/Makefile
1.1 +27 -0 ports/www/p5-Data-Validate-URI/Makefile (new)
1.1 +3 -0 ports/www/p5-Data-Validate-URI/distinfo (new)
1.1 +18 -0 ports/www/p5-Data-Validate-URI/pkg-descr (new)
1.1 +17 -0 ports/www/p5-Data-Validate-URI/pkg-plist (new)
More information about the cvs-all
mailing list