mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
1a46e59ef1
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>
18 lines
806 B
Plaintext
18 lines
806 B
Plaintext
%%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/_split_uri.al
|
|
%%SITE_PERL%%/auto/Data/Validate/URI/autosplit.ix
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/URI/.packlist
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/URI
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
|
|
@dirrmtry %%SITE_PERL%%/auto/Data/Validate/URI
|
|
@dirrmtry %%SITE_PERL%%/auto/Data/Validate
|
|
@dirrmtry %%SITE_PERL%%/auto/Data
|
|
@dirrmtry %%SITE_PERL%%/Data
|