From 50f29c7b048b059d52ffeb473c4a9d0038ab15d9 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 3 Nov 2022 18:58:41 -0700 Subject: [PATCH] [Legacy Maps Plugin] Prevent reverse-tabnabbing (#2540) (#2781) Signed-off-by: Miki Signed-off-by: Miki (cherry picked from commit 19a2e4a9156f04cfd87aa6961919129e19b5eac3) Signed-off-by: github-actions[bot] Signed-off-by: Miki Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- src/plugins/maps_legacy/public/map/map_messages.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/plugins/maps_legacy/public/map/map_messages.js b/src/plugins/maps_legacy/public/map/map_messages.js index e87161c1ba1f..9606a72f959c 100644 --- a/src/plugins/maps_legacy/public/map/map_messages.js +++ b/src/plugins/maps_legacy/public/map/map_messages.js @@ -32,7 +32,7 @@ import React, { Fragment } from 'react'; import ReactDOM from 'react-dom'; import { FormattedMessage } from '@osd/i18n/react'; -import { EuiSpacer, EuiButtonEmpty, EuiEmptyPrompt } from '@elastic/eui'; +import { EuiSpacer, EuiButtonEmpty, EuiEmptyPrompt, EuiLink } from '@elastic/eui'; import { toMountPoint } from '../../../opensearch_dashboards_react/public'; export const createRegionDeniedWarning = (function () { @@ -112,9 +112,12 @@ export const createZoomWarningMsg = (function () { Please go to { wms } for more information." values={{ wms: ( - + {`Custom WMS Configuration`} - + ), }} />