Skip to content

Commit

Permalink
[Backport 1.x] [Legacy Maps Plugin] Prevent reverse-tabnabbing (opens…
Browse files Browse the repository at this point in the history
…earch-project#2934)

* [Legacy Maps Plugin] Prevent reverse-tabnabbing (opensearch-project#2540)

Signed-off-by: Miki <[email protected]>

Signed-off-by: Miki <[email protected]>
(cherry picked from commit 19a2e4a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* [Chore] Add changelog

Signed-off-by: Josh Romero <[email protected]>

Signed-off-by: Miki <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Josh Romero <[email protected]>
  • Loading branch information
3 people authored Nov 29, 2022
1 parent 4be3682 commit c286743
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 @@ -7,7 +7,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Deprecations

### 🛡 Security

* [CVE-2022-0144] Bump shelljs from 0.8.4 to 0.8.5 ([#2511](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2511))
* [Legacy Maps Plugin] Prevent reverse-tabnabbing ([#2540](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2540))
* [CVE-2022-0155] Bump follow-redirects to 1.15.2 ([#2653](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2653))
* [CVE-2022-0536] Bump follow-redirects to 1.15.2 ([#2653](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2653))
* [CVE-2022-23647] Bump prismjs to 1.29.0 ([#2668](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2668))
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 @@ -34,7 +34,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 createRegionBlockedWarning = (function () {
Expand Down Expand Up @@ -114,9 +114,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 c286743

Please sign in to comment.