-
Notifications
You must be signed in to change notification settings - Fork 91
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 noreferrer to blank targets #1883
Conversation
This avoids tabnapping exploits. See [CWE-1022](https://cwe.mitre.org/data/definitions/1022.html)
Checked commit Fryguy@1dadcc2 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only thing I noticed was that the documentation button redirects you to here:
While in the admin ui it takes you straight to the documentation (i.e. https://www.manageiq.org/docs/)
@DavidResende0 Let me double check that, but I think that's intentional as it allows for overriding the link in productized versions. |
Backported to
|
Add noopener noreferrer to blank targets (cherry picked from commit 89aa04e)
Backported to
|
Add noopener noreferrer to blank targets (cherry picked from commit 89aa04e)
This avoids tabnapping exploits.
See CWE-1022
@DavidResende0 Please review.