Skip to content

Enforcing rel="noopener" for external _blank targets` #2348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2019
Merged

Enforcing rel="noopener" for external _blank targets` #2348

merged 1 commit into from
Oct 16, 2019

Conversation

hiendv
Copy link
Contributor

@hiendv hiendv commented Oct 16, 2019

See the MDN note for for information about the privacy and security concerns.

This PR is trying to add the rel="noopener" in the following locations:

I also notice rel="noopener noreferrer" (as a workaround for old browsers) and rel="noopener" are used at the same time across the codebase. Should we make them more consistent?

@phanan phanan merged commit 3246848 into vuejs:master Oct 16, 2019
@phanan
Copy link
Member

phanan commented Oct 16, 2019

Thanks! Not sure how we missed these in a couple of PRs before.

Should we make them more consistent?

I believe so. Do you want to work on such a PR?

@vue-bot
Copy link
Contributor

vue-bot commented Oct 16, 2019

Thanks again! 💚

@hiendv
Copy link
Contributor Author

hiendv commented Oct 17, 2019

@phanan I would love to. So rel="noopener noreferrer" all the way right? :D

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.

3 participants