You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jason Ginchereau (JIRA)" <ji...@apache.org> on 2015/11/05 18:48:27 UTC

[jira] [Updated] (CB-9921) applicationDirectory wrong on browser platform

     [ https://issues.apache.org/jira/browse/CB-9921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Ginchereau updated CB-9921:
---------------------------------
    Labels: browser  (was: )

> applicationDirectory wrong on browser platform
> ----------------------------------------------
>
>                 Key: CB-9921
>                 URL: https://issues.apache.org/jira/browse/CB-9921
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: Master
>            Reporter: Kevin Christopher Henry
>            Priority: Minor
>              Labels: browser
>
> In the code for the browser platform, {{applicationDirectory}} is defined as {{location.origin + "/"}}, which with file URLs resolves to simply {{file:///}}.
> Clearly, the root of the filesystem is not generally going to be the application's directory.
> It could be tricky to figure out the right value to use here. But it would be better to indicate a lack of support ({{null}}?) than to return an obviously wrong value.



--
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