Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 02CE5200D15 for ; Thu, 5 Oct 2017 11:22:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0173B160BDA; Thu, 5 Oct 2017 09:22:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4692D1609DA for ; Thu, 5 Oct 2017 11:22:04 +0200 (CEST) Received: (qmail 94304 invoked by uid 500); 5 Oct 2017 09:22:03 -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 94293 invoked by uid 99); 5 Oct 2017 09:22:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2017 09:22:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5D648CA8D9 for ; Thu, 5 Oct 2017 09:22:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hDnurwiDKnY7 for ; Thu, 5 Oct 2017 09:22:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6C15860DEA for ; Thu, 5 Oct 2017 09:22:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A3A38E09A6 for ; Thu, 5 Oct 2017 09:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 507942430F for ; Thu, 5 Oct 2017 09:22:00 +0000 (UTC) Date: Thu, 5 Oct 2017 09:22:00 +0000 (UTC) From: =?utf-8?Q?Jochen_T=C3=BCmmers_=28JIRA=29?= To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IO-552) FilenameUtils.concat fails if second argument (fullFilenameToAdd) starts with '~' (tilde) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 Oct 2017 09:22:05 -0000 [ https://issues.apache.org/jira/browse/IO-552?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Jochen T=C3=BCmmers updated IO-552: ------------------------------ Description:=20 FilenameUtils.concat("c:\\\\temp", "~abc.txt") returns "~abc.txt\\\\" inste= ad of "c:\\\\temp\\\\~abc.txt". commons io 2.2. and 2.5 behave the same. 2.3 and 2.4 not tested. was: FilenameUtils.concat("c:\\temp", "~abc.txt") returns "~abc.txt\\" instead o= f "c:\\temp\\~abc.txt". commons io 2.2. and 2.5 behave the same. 2.3 and 2.4 not tested. > FilenameUtils.concat fails if second argument (fullFilenameToAdd) starts = with '~' (tilde) > -------------------------------------------------------------------------= ---------------- > > Key: IO-552 > URL: https://issues.apache.org/jira/browse/IO-552 > Project: Commons IO > Issue Type: Bug > Components: Utilities > Affects Versions: 2.2, 2.5 > Environment: Windows 7 64bit, JavaVM 1.8 32bit > Reporter: Jochen T=C3=BCmmers > Priority: Critical > > FilenameUtils.concat("c:\\\\temp", "~abc.txt") returns "~abc.txt\\\\" ins= tead of "c:\\\\temp\\\\~abc.txt". > commons io 2.2. and 2.5 behave the same. 2.3 and 2.4 not tested. -- This message was sent by Atlassian JIRA (v6.4.14#64029)