Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 16380 invoked from network); 21 Oct 2008 17:40:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 17:40:09 -0000 Received: (qmail 77374 invoked by uid 500); 21 Oct 2008 17:40:08 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 77250 invoked by uid 500); 21 Oct 2008 17:40:07 -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 77218 invoked by uid 99); 21 Oct 2008 17:40:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 10:40:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 17:39:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6EB82234C22D for ; Tue, 21 Oct 2008 10:39:44 -0700 (PDT) Message-ID: <1270146554.1224610784452.JavaMail.jira@brutus> Date: Tue, 21 Oct 2008 10:39:44 -0700 (PDT) From: "Nathan Bubna (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (COLLECTIONS-271) org.apache.commons.collections.ExtendedProperties#combine don't import string properly In-Reply-To: <12739828.1192538510586.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COLLECTIONS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nathan Bubna updated COLLECTIONS-271: ------------------------------------- Attachment: COLLECTIONS-271.patch here's a patch that fixes the previous bad patch so that subset() works again. > org.apache.commons.collections.ExtendedProperties#combine don't import string properly > -------------------------------------------------------------------------------------- > > Key: COLLECTIONS-271 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-271 > Project: Commons Collections > Issue Type: Bug > Components: Collection > Affects Versions: 3.2 > Reporter: Alexander Borovsky > Fix For: 3.3 > > Attachments: COLLECTIONS-271.patch, COLLECTIONS-271.patch, fix.patch > > > When we set property with escaped characters, after combine propertySets we got them unescaped. > Simple Example > ExtendedProperties props = new ExtendedProperties(); > props.setProperty("test", "\\\\\\\\192.168.1.91\\\\test"); > props.getProperty("test"); // => \\192.168.1.91\test > ExtendedProperties props2 = new ExtendedProperties(); > props2.combine(props); > props.getProperty("test"); // => \192.168.1.91\test -- Wrong! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.