From c5a86174a7149b90016ee6f674b24494dfb3b3a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?=
=?UTF-8?q?=E3=81=AB=E3=82=85?=
<17376330+u1-liquid@users.noreply.github.com>
Date: Sun, 14 Jan 2024 02:36:01 +0900
Subject: [PATCH] =?UTF-8?q?fix(security):=20`a`=E3=82=BF=E3=82=B0=E3=81=AB?=
=?UTF-8?q?`rel=3D"noopener"`=E3=82=92=E3=81=A4=E3=81=91=E3=82=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/backend/src/server/web/views/info-card.pug | 2 +-
.../frontend/src/components/MkCustomEmojiDetailedDialog.vue | 2 +-
packages/frontend/src/components/MkSignupDialog.rules.vue | 6 +++---
.../frontend/src/components/MkTutorialDialog.Timeline.vue | 2 +-
packages/frontend/src/components/MkTutorialDialog.vue | 2 +-
packages/frontend/src/components/form/link.vue | 2 +-
packages/frontend/src/components/global/MkAd.vue | 2 +-
packages/frontend/src/pages/about-misskey.vue | 2 +-
packages/frontend/src/pages/admin-file.vue | 2 +-
packages/frontend/src/pages/settings/2fa.qrdialog.vue | 4 ++--
packages/frontend/src/ui/visitor.vue | 2 +-
11 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/packages/backend/src/server/web/views/info-card.pug b/packages/backend/src/server/web/views/info-card.pug
index 2a4954ec8b..d4bfbae3ba 100644
--- a/packages/backend/src/server/web/views/info-card.pug
+++ b/packages/backend/src/server/web/views/info-card.pug
@@ -43,7 +43,7 @@ html
}
body
- a#a(href=`https://${host}` target="_blank")
+ a#a(href=`https://${host}` rel="noopener" target="_blank")
header#banner(style=`background-image: url(${meta.bannerUrl})`)
div#title= meta.name || host
div#content
diff --git a/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue b/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue
index c53bbca37c..d85231eb0b 100644
--- a/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue
+++ b/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue
@@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.emojiUrl }}
- {{ emoji.url }}
+ {{ emoji.url }}
diff --git a/packages/frontend/src/components/MkSignupDialog.rules.vue b/packages/frontend/src/components/MkSignupDialog.rules.vue
index 8cf7ce92ad..85c8d85e4e 100644
--- a/packages/frontend/src/components/MkSignupDialog.rules.vue
+++ b/packages/frontend/src/components/MkSignupDialog.rules.vue
@@ -34,8 +34,8 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ tosPrivacyPolicyLabel }}
{{ i18n.ts.agree }}
@@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.basicNotesBeforeCreateAccount }}
- {{ i18n.ts.basicNotesBeforeCreateAccount }}
+ {{ i18n.ts.basicNotesBeforeCreateAccount }}
{{ i18n.ts.agree }}
diff --git a/packages/frontend/src/components/MkTutorialDialog.Timeline.vue b/packages/frontend/src/components/MkTutorialDialog.Timeline.vue
index 93181cf2b1..932681bd2d 100644
--- a/packages/frontend/src/components/MkTutorialDialog.Timeline.vue
+++ b/packages/frontend/src/components/MkTutorialDialog.Timeline.vue
@@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.help }}
+ {{ i18n.ts.help }}
diff --git a/packages/frontend/src/components/MkTutorialDialog.vue b/packages/frontend/src/components/MkTutorialDialog.vue
index 963e78a1ff..12d3d24643 100644
--- a/packages/frontend/src/components/MkTutorialDialog.vue
+++ b/packages/frontend/src/components/MkTutorialDialog.vue
@@ -130,7 +130,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts._initialTutorial._done.title }}
- {{ i18n.ts.help }}
+ {{ i18n.ts.help }}
{{ i18n.t('_initialAccountSetting.haveFun', { name: instance.name ?? host }) }}
diff --git a/packages/frontend/src/components/form/link.vue b/packages/frontend/src/components/form/link.vue
index 4d711814b5..d4209b99d9 100644
--- a/packages/frontend/src/components/form/link.vue
+++ b/packages/frontend/src/components/form/link.vue
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
I #Misskey
diff --git a/packages/frontend/src/pages/admin-file.vue b/packages/frontend/src/pages/admin-file.vue
index 4a9c659a97..b05db7b3bc 100644
--- a/packages/frontend/src/pages/admin-file.vue
+++ b/packages/frontend/src/pages/admin-file.vue
@@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/pages/settings/2fa.qrdialog.vue b/packages/frontend/src/pages/settings/2fa.qrdialog.vue
index 3d7bb06da2..38f56242cb 100644
--- a/packages/frontend/src/pages/settings/2fa.qrdialog.vue
+++ b/packages/frontend/src/pages/settings/2fa.qrdialog.vue
@@ -27,10 +27,10 @@ SPDX-License-Identifier: AGPL-3.0-only
- Authy
+ Authy
- Google Authenticator
+ Google Authenticator
{{ i18n.ts._2fa.step2 }}
{{ i18n.ts._2fa.step2Click }}
diff --git a/packages/frontend/src/ui/visitor.vue b/packages/frontend/src/ui/visitor.vue
index f1d40b24a4..2c86d329aa 100644
--- a/packages/frontend/src/ui/visitor.vue
+++ b/packages/frontend/src/ui/visitor.vue
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only