Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB7B110B05 for ; Wed, 29 Jan 2014 16:10:18 +0000 (UTC) Received: (qmail 48199 invoked by uid 500); 29 Jan 2014 16:10:14 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 48172 invoked by uid 500); 29 Jan 2014 16:10:12 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 48155 invoked by uid 99); 29 Jan 2014 16:10:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jan 2014 16:10:12 +0000 Date: Wed, 29 Jan 2014 16:10:12 +0000 (UTC) From: "Ian Clelland (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5901) On Android FileEntry.toURL() append extra file://localhost to the file URL 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/CB-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885464#comment-13885464 ] Ian Clelland commented on CB-5901: ---------------------------------- Could you run one more test? I'd like to see what these four values are: {code} entry.fullPath entry.toURL() entry2.fullPath entry2.toURL() {code} I'm confused by the {{file://localhost}} prefix -- the only place that appears in the entire source of the file plugin is in {{ios/Entry.js}} -- seeing that prepended would only make sense if somehow you were running the ios JS file on your android code. > On Android FileEntry.toURL() append extra file://localhost to the file URL > -------------------------------------------------------------------------- > > Key: CB-5901 > URL: https://issues.apache.org/jira/browse/CB-5901 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin File > Affects Versions: 3.3.0 > Environment: Android 4.2 > Reporter: sandeep paliwal > Assignee: Ian Clelland > Priority: Minor > > The returned URL from the FileEntry object's toURL() method is now of form file://localhostfile:///. > This happens only on Android. -- This message was sent by Atlassian JIRA (v6.1.5#6160)