From owner-cvs-ports@FreeBSD.ORG Mon Jan 14 11:42:28 2008 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 547CE16A419; Mon, 14 Jan 2008 11:42:28 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 532C413C45D; Mon, 14 Jan 2008 11:42:28 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0EBgSIF016764; Mon, 14 Jan 2008 11:42:28 GMT (envelope-from miwi@repoman.freebsd.org) Received: (from miwi@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0EBgSvv016763; Mon, 14 Jan 2008 11:42:28 GMT (envelope-from miwi) Message-Id: <200801141142.m0EBgSvv016763@repoman.freebsd.org> From: Martin Wilke Date: Mon, 14 Jan 2008 11:42:27 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/www Makefile ports/www/p5-Data-Validate-URI Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 11:42:28 -0000 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 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)