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 8093818560 for ; Tue, 24 Nov 2015 18:08:11 +0000 (UTC) Received: (qmail 8436 invoked by uid 500); 24 Nov 2015 18:08:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 8386 invoked by uid 500); 24 Nov 2015 18:08:11 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 8138 invoked by uid 99); 24 Nov 2015 18:08:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2015 18:08:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 09EAA2C1F6D for ; Tue, 24 Nov 2015 18:08:11 +0000 (UTC) Date: Tue, 24 Nov 2015 18:08:11 +0000 (UTC) From: "Katie Egervari (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-10069) Using either file:/// or cdvfile:// as the causes errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Katie Egervari created CB-10069: ----------------------------------- Summary: Using either file:/// or cdvfile:// as the causes errors Key: CB-10069 URL: https://issues.apache.org/jira/browse/CB-10069 Project: Apache Cordova Issue Type: Bug Affects Versions: 5.4.0 Environment: Windows, Cordova Whitelist, Cordova File, Cordova File Transfer Reporter: Katie Egervari Priority: Blocker Trying to load an image from the local filesystem using fileEntry.toURL() does not work. In Chrome, it says: Not allowed to load local resource: file:///persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b When trying to use the cdvfile:// address instead results in this error: cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b:1 GET cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b net::ERR_UNKNOWN_URL_SCHEME I have tried countless configurations of whitelist and/or the content security policy. My current configurations (but this is NOT limited to what I have actually tried) are: And I really need help with this one, as this is blocking me finishing my project. This application has to run standalone, and we have to download images dynamically, put them on the local file system of the device, and then show them in image tags when disconnected from the network. Thank you. Katie -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org