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 663E318AA5 for ; Sun, 15 Nov 2015 00:18:16 +0000 (UTC) Received: (qmail 78753 invoked by uid 500); 15 Nov 2015 00:18:11 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 78658 invoked by uid 500); 15 Nov 2015 00:18:11 -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 78641 invoked by uid 99); 15 Nov 2015 00:18:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Nov 2015 00:18:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 13C752C1F56 for ; Sun, 15 Nov 2015 00:18:11 +0000 (UTC) Date: Sun, 15 Nov 2015 00:18:11 +0000 (UTC) From: "Niall Pemberton (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IO-487) SafeObjectInputStream contribution - restrict which classes can be deserialized 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-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated IO-487: ------------------------------- Attachment: IO-487-2.patch Attaching IO-487-2.patch which includes the following: * Change the ClassAcceptor's accept() method to return a boolean * RegexpClassAcceptor (in place of WhiteRegexpClassAcceptor & BlackRegexpClassAcceptor) * NameClassAcceptor (in place of WhitelistClassAcceptor & BlacklistClassAcceptor) * add NotClassAcceptor (to provide blacklist/exclusion functionality of above implementations) > SafeObjectInputStream contribution - restrict which classes can be deserialized > ------------------------------------------------------------------------------- > > Key: IO-487 > URL: https://issues.apache.org/jira/browse/IO-487 > Project: Commons IO > Issue Type: Improvement > Components: Utilities > Affects Versions: 2.4 > Reporter: Bertrand Delacretaz > Priority: Minor > Labels: patch > Fix For: 2.5 > > Attachments: IO-487-2.patch, IO-487-name-regex-acceptor.patch, IO-487.patch, IO-487.patch, IO-487.patch, IO-487.patch, IO-487.patch, IO-487.patch > > > As discussed on the commons dev list I'd like to contribute my SLING-5288 code to commons-io. I'll attach a patch. -- This message was sent by Atlassian JIRA (v6.3.4#6332)