diff --git a/src/app/files/basicReadOnlyExplorer.js b/src/app/files/basicReadOnlyExplorer.js index 48a8841e1e..de0f62a041 100644 --- a/src/app/files/basicReadOnlyExplorer.js +++ b/src/app/files/basicReadOnlyExplorer.js @@ -23,7 +23,8 @@ class BasicReadOnlyExplorer { exists (path) { if (!this.files) return false - return this.files[path] !== undefined + var unprefixedPath = this.removePrefix(path) + return this.files[unprefixedPath] !== undefined } get (path, cb) {