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

fix: [M3-6446] - Fix code scanning alert that DOM text is reinterpreted as HTML #9032

Conversation

bnussman-akamai
Copy link
Member

Description 📝

Major Changes 🔄

  • The <ExternalLink /> component now sanitizes any link it is given

How to test 🧪

  • Verify that the <ExternalLink /> component still works as expected
    • You can test this by clicking links in the Footer
  • Verify that SupportSearchLanding (http://localhost:3000/support/search/?query=) still works as expected because this is what triggered the alert

@bnussman-akamai bnussman-akamai added Security Pull requests that address a security vulnerability Ready for Review labels Apr 19, 2023
@bnussman-akamai bnussman-akamai self-assigned this Apr 19, 2023
@cypress
Copy link

cypress bot commented Apr 19, 2023

1 flaky tests on run #3070 ↗︎

0 149 3 0 Flakiness 1

Details:

sanitize the `href` in the ``
Project: Cloud Manager E2E Commit: 47eb19ce97
Status: Passed Duration: 17:04 💡
Started: Apr 19, 2023 6:13 PM Ended: Apr 19, 2023 6:30 PM
Flakiness  cypress/e2e/account/sms-verification.spec.ts • 1 flaky test

View Output Video

Test Artifacts
SMS phone verification > can opt into SMS phone verification Output Screenshots Video

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

Copy link
Contributor

@jaalah-akamai jaalah-akamai left a comment

Choose a reason for hiding this comment

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

🧼 Nice and clean (no pun intended)

@bnussman-akamai bnussman-akamai merged commit 35cc500 into linode:develop Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Review Security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants