tweak all those copies of uriFromPath, #56691

This commit is contained in:
Johannes Rieken
2018-08-24 10:52:47 +02:00
parent 8af86c73e6
commit 7a6a466cab
7 changed files with 36 additions and 37 deletions

View File

@@ -30,7 +30,7 @@ function uriFromPath(_path) {
pathName = '/' + pathName;
}
return encodeURI('file://' + pathName);
return encodeURI('file://' + pathName).replace(/#/g, '%23');
}
function readFile(file) {