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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org