From 5c7eb38a81712679c354d13cc9355e27db2eba21 Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Wed, 21 Aug 2019 16:37:31 +0200 Subject: [PATCH] Fix url encoding of table names Signed-off-by: Hugues Peccatte --- js/designer/move.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/designer/move.js b/js/designer/move.js index c2ae24869c..05aca59785 100644 --- a/js/designer/move.js +++ b/js/designer/move.js @@ -552,8 +552,8 @@ function Toggle_fullscreen () { function addTableToTablesList(index, table_dom) { var db = $(table_dom).find('.small_tab_pref').attr('db'); var table = $(table_dom).find('.small_tab_pref').attr('table_name_small'); - var db_encoded = encodeURI(db); - var table_encoded = encodeURI(table); + var db_encoded = encodeURIComponent(db); + var table_encoded = encodeURIComponent(table); var $new_table_line = $('' + '