From 05575e1e9215a64b843c5f7d5a53546ff06b0fec Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Thu, 8 Aug 2024 09:10:47 +0200 Subject: [PATCH] encore rdoc query paramter URL --- web/explorer/src/views/ImportView.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/explorer/src/views/ImportView.vue b/web/explorer/src/views/ImportView.vue index cc06ee5f2..99704d518 100644 --- a/web/explorer/src/views/ImportView.vue +++ b/web/explorer/src/views/ImportView.vue @@ -77,8 +77,9 @@ onMounted(() => { // Check if the URL contains a rdoc parameter and load the data from that URL const urlParams = new URLSearchParams(window.location.search); - const rdocURL = urlParams.get("rdoc"); - if (rdocURL) { + const encodedRdocURL = urlParams.get("rdoc"); + if (encodedRdocURL) { + const rdocURL = decodeURIComponent(encodedRdocURL); loadFromURL(rdocURL); } });