From 9eae14851672fad87d077856c2af47a8e181b671 Mon Sep 17 00:00:00 2001 From: "Yuanqi(Ella) Zhu" <53279298+zhyuanqi@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:34:41 -0700 Subject: [PATCH] Encode searchId as it tends to be decoded after adds into url (#8530) * Encode searchId as it tends to be decoded after adds into url Signed-off-by: Yuanqi(Ella) Zhu <53279298+zhyuanqi@users.noreply.github.com> * Changeset file for PR #8530 created/updated * Changeset file for PR #8530 created/updated --------- Signed-off-by: Yuanqi(Ella) Zhu <53279298+zhyuanqi@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> --- changelogs/fragments/8530.yml | 2 ++ src/plugins/visualizations/public/wizard/new_vis_modal.tsx | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/8530.yml diff --git a/changelogs/fragments/8530.yml b/changelogs/fragments/8530.yml new file mode 100644 index 000000000000..9cc0707cebdb --- /dev/null +++ b/changelogs/fragments/8530.yml @@ -0,0 +1,2 @@ +fix: +- Encode searchId as it tends to be decoded after adds into url. ([#8530](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8530)) \ No newline at end of file diff --git a/src/plugins/visualizations/public/wizard/new_vis_modal.tsx b/src/plugins/visualizations/public/wizard/new_vis_modal.tsx index 00a2253ea3ee..c2428174e5aa 100644 --- a/src/plugins/visualizations/public/wizard/new_vis_modal.tsx +++ b/src/plugins/visualizations/public/wizard/new_vis_modal.tsx @@ -170,6 +170,7 @@ class NewVisModal extends React.Component