diff --git a/src/Yavsc/wwwroot/js/yavsc-remote-fs.js b/src/Yavsc/wwwroot/js/yavsc-remote-fs.js index 89202fad..a8f14b67 100644 --- a/src/Yavsc/wwwroot/js/yavsc-remote-fs.js +++ b/src/Yavsc/wwwroot/js/yavsc-remote-fs.js @@ -50,8 +50,8 @@ if (typeof XMLHttpRequest === 'undefined') { var dnames = _this.root.split('/'); $.each(dnames, function () { var part = this; - if (npath == null) npath = part; - else npath = npath + '/' + part; + if (npath == null) npath = encodeURIComponent(part); + else npath = npath + '/' + encodeURIComponent(part); $('