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