Skip to content

Add rel="noopener noreferrer" to external target="_blank" links #308

Description

@aflores-qb

Summary

Many external links throughout the UI open with target="_blank" but no rel:

<Link to={forumUrl} target="_blank"> ...
<Link to={"http://" + lastIp} target="_blank"> ...   // value derived from server data
<a href={url} target="_blank"> ...

Opening a link in a new tab without rel="noopener" gives the opened page access to window.opener (reverse-tabnabbing) and leaks a referrer. Modern browsers now imply noopener for target="_blank" by default, so this is defense-in-depth / hygiene rather than an active hole — but setting it explicitly is best practice, is robust against older/edge browsers, and is especially worth it for the one link built from server-provided data (TonieboxCard box IP).

Scope

Add rel="noopener noreferrer" to every external target="_blank" link that lacks a rel (a consistent, mechanical sweep across ~23 files). No behavioral change otherwise.

PR follows, targeted at develop.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions