Skip to content

chore: add rel="noopener noreferrer" to the external _blank link#125

Open
kirushik wants to merge 1 commit into
paritytech:masterfrom
kirushik:chore/rel-noopener
Open

chore: add rel="noopener noreferrer" to the external _blank link#125
kirushik wants to merge 1 commit into
paritytech:masterfrom
kirushik:chore/rel-noopener

Conversation

@kirushik
Copy link
Copy Markdown
Contributor

The Wikipedia link in GeneralInfo.vue opened in a new tab without rel, leaving it exposed to reverse tabnabbing.
Negligible in practice (offline use, trusted URL) but free hygiene.
It is the only target="_blank" link in the app; the other external links open in the same tab.

The Wikipedia link in GeneralInfo.vue opened in a new tab without `rel`,
leaving it exposed to reverse-tabnabbing. Negligible in practice (offline
use, trusted URL) but free hygiene. It is the only target="_blank" link in
the app; the other external links open in the same tab.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 29, 2026 21:22
@cla-bot-2021
Copy link
Copy Markdown

cla-bot-2021 Bot commented May 29, 2026

User @claude, please sign the CLA here.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds rel="noopener noreferrer" to an external link to improve security and follow best practices for target="_blank" links.

Changes:

  • Reformats the anchor tag onto multiple lines for readability
  • Adds rel="noopener noreferrer" attribute to the external Wikipedia link

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants