Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Vote-854: Update from Code Scanning #980

Closed
wants to merge 1 commit into from

Conversation

clmedders
Copy link
Contributor

Ticket: Vote-854

Purpose: Updating 2 links that were flagged from code scanning as being unsafe -> https://github.com/usagov/vote-gov/security/code-scanning/1 and https://github.com/usagov/vote-gov/security/code-scanning/2.

The recommended fix was to add the attribute rel="noopener noreferrer" to the links. From what I can tell it was on PDF links, I also did a search for the same type of link and these were the only 2 that were flagged

Testing:

  • Vist https://vote.gov/promoting-access-to-voting/ and scroll to the bottom and ensure that PDF still opens in a new page

@clmedders clmedders marked this pull request as ready for review March 4, 2024 14:41
@clmedders clmedders requested a review from rayestrada March 4, 2024 14:42
@rayestrada
Copy link
Contributor

This is an internal link and does not require adding additional attributes. Closing.

@rayestrada rayestrada closed this Mar 4, 2024
@rayestrada rayestrada deleted the feature/vote-854-codescanning-update branch March 12, 2024 23:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants