Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 13398 invoked from network); 16 Mar 2008 01:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2008 01:36:07 -0000 Received: (qmail 58703 invoked by uid 500); 16 Mar 2008 01:36:04 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 58628 invoked by uid 500); 16 Mar 2008 01:36:04 -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 58619 invoked by uid 99); 16 Mar 2008 01:36:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Mar 2008 18:36:04 -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; Sun, 16 Mar 2008 01:35:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4807F234C09B for ; Sat, 15 Mar 2008 18:34:24 -0700 (PDT) Message-ID: <252386459.1205631264293.JavaMail.jira@brutus> Date: Sat, 15 Mar 2008 18:34:24 -0700 (PDT) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12579107#action_12579107 ] Henri Yandell commented on COLLECTIONS-271: ------------------------------------------- Bug confirmed - but the fix doesn't pass the unit test so might need something more. > 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: 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.