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 8C3D8200B81 for ; Tue, 13 Sep 2016 18:49:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8AC5F160AD3; Tue, 13 Sep 2016 16:49:22 +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 D1890160AAA for ; Tue, 13 Sep 2016 18:49:21 +0200 (CEST) Received: (qmail 96929 invoked by uid 500); 13 Sep 2016 16:49:20 -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 96733 invoked by uid 99); 13 Sep 2016 16:49:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 16:49:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A4F3B2C1B7D for ; Tue, 13 Sep 2016 16:49:20 +0000 (UTC) Date: Tue, 13 Sep 2016 16:49:20 +0000 (UTC) From: "Taras Kravchuk (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-11842) Files with complex names cannot be resolved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 16:49:22 -0000 Taras Kravchuk created CB-11842: ----------------------------------- Summary: Files with complex names cannot be resolved Key: CB-11842 URL: https://issues.apache.org/jira/browse/CB-11842 Project: Apache Cordova Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Plugin File Environment: Android Reporter: Taras Kravchuk Priority: Minor I have photos on my android device named like this (don't ask why): "https%3A%2F%2Fapk.test.com%2FContent%2FUploaded%2FSurveyPhotos%2Fe77835b6-261d-45b3-8be6-9f9e654b0230.png" If I use camera plugin to get such file, using code: navigator.camera.getPicture(callback, onFail, { quality: 75, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, encodingType: Camera.EncodingType.PNG, targetWidth:1000, targetHeight: 1000, saveToPhotoAlbum: false, mediaType: Camera.MediaType.PICTURE }); Image is copied into my app cache folder with the same name, afterwards when I try to access this image by window.resolveLocalFileSystemURL(sourceFile, fileFound, fileNotFound); I always get file not found error. On previous camera plugin version this file in cache folder was always renamed to "modified.png" and so could be resolved successfully. But now after update I have such bug. It is not critical since it works with normal file names, but it still can happen and I see no workaround in this case. -- 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