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

added rel attribute to anchor tag #6282

Merged
merged 1 commit into from
Feb 12, 2024
Merged

added rel attribute to anchor tag #6282

merged 1 commit into from
Feb 12, 2024

Conversation

aidanwsimmons
Copy link
Member

@aidanwsimmons aidanwsimmons commented Feb 12, 2024

Fixes #6054

What changes did you make?

  • added rel attribute to anchor tag

Why did you make the changes (we will use this info to test)?

  • to resolve CodeQL alert

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

No visual changes to the website.

Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b aidanwsimmons-resolve-CodeQL-alert-20-6054 gh-pages
git pull https://github.com/aidanwsimmons/website.git resolve-CodeQL-alert-20-6054

Note that CONTRIBUTING.md cannot previewed locally; rather it should be previewed at this URL:

https://github.com/aidanwsimmons/website/blob/resolve-CodeQL-alert-20-6054/CONTRIBUTING.md  

@github-actions github-actions bot added good first issue Good for newcomers role: front end Tasks for front end developers role: back end/devOps Tasks for back-end developers P-Feature: Communities of Practice https://www.hackforla.org/communities-of-practice size: 0.25pt Can be done in 0.5 to 1.5 hours Feature: Code Alerts labels Feb 12, 2024
@@ -47,7 +47,7 @@
<div class='leader-list--communities'>
{% for leader in community[1].leadership %}
<div class='leader-card--communities'>
<a href='{{ leader.links.github }}' target='_blank' title='GitHub Profile'><img class='leader-img--communities' src='{{ leader.picture }}'/></a>
<a href='{{ leader.links.github }}' target='_blank' title='GitHub Profile'><img class='leader-img--communities' src='{{ leader.picture }}' rel='noopener noreferrer'/></a>

Check warning

Code scanning / CodeQL

Potentially unsafe external link Medium

External links without noopener/noreferrer are a potential security risk.
@aidanwsimmons
Copy link
Member Author

Created new pull request to address will's comment regarding my branch.

Copy link
Member

@t-will-gillis t-will-gillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @aidanwsimmons Thanks for making the requested edits and resubmitting the PR. Everything looks perfect: the branches from and to are correct, the link back to the original issue is provided, there are concise descriptions of what was done and why, and there are is a note stating 'No visual changes to the website'.

@gaylem and @njackman-2344 thank you for your previous reviews and comments. Since you already reviewed the previous PR, I will go ahead and merge this one.

Great job again and thanks for contributing!

@t-will-gillis t-will-gillis merged commit 304aa50 into hackforla:gh-pages Feb 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Code Alerts good first issue Good for newcomers P-Feature: Communities of Practice https://www.hackforla.org/communities-of-practice role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 0.25pt Can be done in 0.5 to 1.5 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve CodeQL alert 20 "Potentially unsafe external link"
2 participants