From 99a4a7169c727b90ce8dd3f3359dbc8ca78f4d7a Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 8 Jun 2020 02:25:23 +0100 Subject: [PATCH] Fixes char # in filenames links --- src/Yavsc/wwwroot/js/yavsc-remote-fs.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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); $('