From 498db61f4660e5ceb31755a9af72d701eb64207b Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 21 Jan 2019 11:37:27 -0700 Subject: [PATCH] Fix new directories with weird chars (one#two?three) do not get created correctly --- filemanager/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 96b7bdee22..94557c7c74 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -586,7 +586,7 @@ app.classes.filemanager = AppJS.extend( } } } - self._do_action('createdir', dir, true, path); // true=synchronous request + self._do_action('createdir', egw.encodePathComponent(dir), true, path); // true=synchronous request self.change_dir((path == '/' ? '' : path)+'/'+ dir); } },this.egw.lang('New directory'),this.egw.lang('Create directory'));