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 405BD110EB for ; Wed, 27 Aug 2014 22:04:58 +0000 (UTC) Received: (qmail 58715 invoked by uid 500); 27 Aug 2014 22:04:58 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 58692 invoked by uid 500); 27 Aug 2014 22:04:58 -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 58669 invoked by uid 99); 27 Aug 2014 22:04:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 22:04:58 +0000 Date: Wed, 27 Aug 2014 22:04:57 +0000 (UTC) From: "Martin Gonzalez (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-7418) [plugin-file] Add fullPath var to condition, avoiding undefined/ when null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Martin Gonzalez created CB-7418: ----------------------------------- Summary: [plugin-file] Add fullPath var to condition, avoiding undefined/ when null Key: CB-7418 URL: https://issues.apache.org/jira/browse/CB-7418 Project: Apache Cordova Issue Type: Bug Components: Plugin File Affects Versions: 3.5.0 Reporter: Martin Gonzalez Assignee: Martin Gonzalez Fix For: 3.6.0 DirectoryEntry.js adds a trailing slash if it's missing, however, whether is null or not, it just checks that fullPath (!/\/$/), so in case of undefined it would convert an undefined object into a path as 'undefined/'. -- This message was sent by Atlassian JIRA (v6.2#6252)