TagSpaces is an offline, open source, document manager with tagging support
fixing issue caused by spaces in the directory names
Iliand967ae0e32e1
diff --git a/data/web/web.api.js b/data/web/web.api.jsindex 0b76a2fe3..c65f1e8ea 100644--- a/data/web/web.api.js+++ b/data/web/web.api.js@@ -28,7 +28,8 @@ define(function(require, exports, module) {function listDirectory(dirPath) {console.log("Listing directory: "+dirPath);- dirPath = dirPath + "/";+ dirPath = encodeURI(dirPath + "/");+davClient.propfind(dirPath,@@ -45,7 +46,7 @@ define(function(require, exports, module) {for (var entry in dirList) {var path = dirList[entry].href;if(dirPath !== path) {- isDir = false,+ isDir = false;filesize = undefined;lmdt = undefined;//console.log(dirList[entry]._namespaces["DAV:"]);