Skip to content
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

Add noopener along with _target blank for security #12

Closed
wants to merge 1 commit into from
Closed

Conversation

buren
Copy link
Contributor

@buren buren commented Jun 24, 2018

This is for security reasons. Without it, if a user clicks an external link the target page will have full access to the window object!

To fix this we add rel="noopener noreferrer" along with _target="blank". noreferrer is for older browsers that does not support noopener.

For more information see https://mathiasbynens.github.io/rel-noopener/

This is for security reasons. Without it if a user clicks an external
link the target page will have full access to the `window` object!

To fix this we add `rel="noopener noreferrer"` along with
`_target="blank"`. `noreferrer` is for older browsers that does not
support `noopener`.

For more information see https://mathiasbynens.github.io/rel-noopener/
@keithmifsud keithmifsud self-requested a review June 25, 2018 02:38
@keithmifsud keithmifsud added bug Something isn't working security documentation labels Jun 25, 2018
@keithmifsud keithmifsud added this to In progress in Release version 1.1 via automation Jun 25, 2018
@keithmifsud keithmifsud added this to the Release v1.1 milestone Jun 25, 2018
@keithmifsud
Copy link
Owner

As per #9

@keithmifsud
Copy link
Owner

keithmifsud commented Jun 25, 2018

@buren Thank you once again. I understand the use of noopener and noreferrer! This PR will be merged into the release branch later today, and I'll release it shortly after.

@keithmifsud
Copy link
Owner

@buren I moved this to a new PR #14 due to merge conflicts.

@keithmifsud keithmifsud closed this Jul 6, 2018
Release version 1.1 automation moved this from In progress to Done Jul 6, 2018
@keithmifsud keithmifsud moved this from Done to Cancelled in Release version 1.1 Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation security
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants