Skip to content

Add security attributes to external links - #757

Open
tanushribamane wants to merge 1 commit into
firstcontributions:mainfrom
tanushribamane:add-secure-external-links
Open

tanushribamane wants to merge 1 commit into
firstcontributions:mainfrom
tanushribamane:add-secure-external-links

Conversation

@tanushribamane

Copy link
Copy Markdown

Added rel="noopener noreferrer" to external project links that open in a new tab.

Changes
Added noopener to prevent the opened page from accessing the original window.
Added noreferrer to prevent the referrer from being passed.
Applied the attributes to both external project links in the project card.
Testing

Tested the website locally at http://localhost:4321/ and confirmed that the project links continue to work correctly.

This branch has not been deployed

No deployments
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.

1 participant