Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55AECEAEB for ; Tue, 28 May 2013 07:36:30 +0000 (UTC) Received: (qmail 26860 invoked by uid 500); 28 May 2013 07:36:29 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 26245 invoked by uid 500); 28 May 2013 07:36:29 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 26071 invoked by uid 99); 28 May 2013 07:36:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 07:36:28 +0000 Date: Tue, 28 May 2013 07:36:28 +0000 (UTC) From: "Bram de Kruijff (JIRA)" To: commits@ace.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (ACE-351) Corrupt URLs in shop repository on Windows containing \ instead of / 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/ACE-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bram de Kruijff closed ACE-351. ------------------------------- Assignee: (was: Marcel Offermans) > Corrupt URLs in shop repository on Windows containing \ instead of / > -------------------------------------------------------------------- > > Key: ACE-351 > URL: https://issues.apache.org/jira/browse/ACE-351 > Project: ACE > Issue Type: Bug > Components: Repository > Affects Versions: 0.8.1-incubator > Reporter: Wilfried Sibla > Fix For: 1.0.0 > > > When uploading artifacts to the ACE server running on a windows OS, URLs added to the repository files contain windows file paths including the \ instead of /. > Replacing line 116 in class BundleFileStore (trunk) > String filePath = storeLocation.getAbsolutePath().substring(getWorkingDir().getAbsolutePath().length()); > with: > String filePath = storeLocation.toURI().toString().substring(getWorkingDir().toURI().toString().length()); > solves this problem. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira