X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjs%2Ffilebrowser.js;h=4546ed8ffccd250bc8570eadb5d952a51ee1294f;hb=2301cc22057ab26352f130aab4867048bcc579f3;hp=1faef4acc4f23a88d9185270404fc76f7ac9fa5f;hpb=f1e7d97b8cae93e1c77f5a5085880409b01fcdbe;p=friendica.git diff --git a/view/js/filebrowser.js b/view/js/filebrowser.js index 1faef4acc4..4546ed8ffc 100644 --- a/view/js/filebrowser.js +++ b/view/js/filebrowser.js @@ -77,8 +77,7 @@ var FileBrowser = { $(".folders a, .path a").on("click", function(e){ e.preventDefault(); - var url = baseurl + "/fbrowser/" + FileBrowser.type + "/" + this.dataset.folder + "?mode=minimal" + location['hash']; - location.href = url; + location.href = baseurl + "/fbrowser/" + FileBrowser.type + "/" + encodeURIComponent(this.dataset.folder) + "?mode=minimal" + location['hash']; }); $(".photo-album-photo-link").on('click', function(e){