From 244f0dd85cbc782c5a93f34253e22023cbdd262c Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 23 Feb 2018 17:15:01 +0100 Subject: [PATCH] use normalize path to retrieve content --- src/app/files/basicReadOnlyExplorer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/files/basicReadOnlyExplorer.js b/src/app/files/basicReadOnlyExplorer.js index f5d3ab41dd..31c6081fd4 100644 --- a/src/app/files/basicReadOnlyExplorer.js +++ b/src/app/files/basicReadOnlyExplorer.js @@ -28,6 +28,7 @@ class BasicReadOnlyExplorer { } get (path, cb) { + if (this.normalizedNames[path]) path = this.normalizedNames[path] // ensure we actually use the normalized path from here var unprefixedPath = this.removePrefix(path) var content = this.files[unprefixedPath] if (!content) {