Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 9428 invoked from network); 16 Oct 2007 12:48:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2007 12:48:14 -0000 Received: (qmail 48267 invoked by uid 500); 16 Oct 2007 12:48:00 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48179 invoked by uid 500); 16 Oct 2007 12:47:59 -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 48135 invoked by uid 99); 16 Oct 2007 12:47:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 05:47:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 12:48:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4CF1D71420D for ; Tue, 16 Oct 2007 05:47:51 -0700 (PDT) Message-ID: <21336272.1192538871312.JavaMail.jira@brutus> Date: Tue, 16 Oct 2007 05:47:51 -0700 (PDT) From: "Alexander Borovsky (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 ] Alexander Borovsky updated COLLECTIONS-271: ------------------------------------------- Attachment: fix.patch Possible fix attached > 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 > Attachments: 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.