Skip to content

Commit

Permalink
[Legacy Maps Plugin] Prevent reverse-tabnabbing (opensearch-project#2540
Browse files Browse the repository at this point in the history
)

Signed-off-by: Miki <miki@amazon.com>

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Sergey V. Osipov <sipopo@yandex.ru>
  • Loading branch information
AMoo-Miki authored and sipopo committed Dec 16, 2022
1 parent ab5217f commit 4fe1349
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

### 馃洝 Security

* [Legacy Maps Plugin] Prevent reverse-tabnabbing ([#2540](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2540))

### 馃搱 Features/Enhancements
* Ability to start OS Dashboards with a newer and compatible nodejs version ([#2091](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2091))
- [MD] Support legacy client for data source ([#2204](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2204))
Expand Down
9 changes: 6 additions & 3 deletions src/plugins/maps_legacy/public/map/map_messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -112,9 +112,12 @@ export const createZoomWarningMsg = (function () {
Please go to { wms } for more information."
values={{
wms: (
<a target="_blank" href="https://opensearch.org/docs/latest/dashboards/maptiles/">
<EuiLink
target="_blank"
href="https://opensearch.org/docs/latest/dashboards/maptiles/"
>
{`Custom WMS Configuration`}
</a>
</EuiLink>
),
}}
/>
Expand Down

0 comments on commit 4fe1349

Please sign in to comment.