Bug: External links use react-router Link (wrong) and missing rel on some targets #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Several external URLs are currently rendered using React Router's
<Link>component instead of standard anchor (<a>) tags.Additionally, some external links that open in a new tab are missing the required:
attribute.
Impact
<Link>.noopenerexposes the application to reverse tab-napping attacks.Locations
Known Examples
src/components/home/TeamSection.tsx(around lines ~88–96)<Link>.rel="noopener noreferrer".src/pages/BlogArticle.tsxrelattributes while others do not.Additional Audit Required
Search the entire codebase for:
<Link to="https://..."><Link to="http://...">target="_blank"but withoutrel="noopener noreferrer"Suggested Fix
Replace
With
Acceptance Criteria
<a href>instead of React Router<Link>.rel="noopener noreferrer".<Link>.Local Verification
Run the following commands before creating the PR.
Build
Lint Check