Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D55898BC for ; Sun, 6 Nov 2011 21:42:13 +0000 (UTC) Received: (qmail 58258 invoked by uid 500); 6 Nov 2011 21:42:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 58013 invoked by uid 500); 6 Nov 2011 21:42:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 57999 invoked by uid 99); 6 Nov 2011 21:42:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 21:42:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 21:42:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B78393437A for ; Sun, 6 Nov 2011 21:41:51 +0000 (UTC) Date: Sun, 6 Nov 2011 21:41:51 +0000 (UTC) From: "Pier-Luc Caron St-Pierre (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <1964588946.5241.1320615711753.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1783808818.2856.1320496851516.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (IO-291) Add new function FileUtils.isContained MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IO-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145123#comment-13145123 ] Pier-Luc Caron St-Pierre commented on IO-291: --------------------------------------------- Thanks for you input. The initial use case is that I am exposing all the content of a folder to my user by a web service. I trust the lib to sanitize correctly the parameters, but I am afraid that my function will be used by my coworker in other context. * I have make some coding style fix in the io-291-v4.patch. * I have removed the author tag. > Add new function FileUtils.isContained > -------------------------------------- > > Key: IO-291 > URL: https://issues.apache.org/jira/browse/IO-291 > Project: Commons IO > Issue Type: New Feature > Components: Utilities > Affects Versions: 2.1 > Reporter: Pier-Luc Caron St-Pierre > Assignee: Gary D. Gregory > Labels: patch > Fix For: 2.1 > > Attachments: FileUtils.isContained.patch, io-291-simple.diff, io-291.diff > > > I added a function that determines whether the specified leaf is contains by the specified composite. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira