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

Fixes for broken image messages #2585

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

joshuastegmaier
Copy link
Collaborator

Fixed bug with displayHTMLMesage when receiving a Text node.
Changed contact link to be capitalized, use correct URL and open in a new tab.

https://staff.loc.gov/tasks/browse/COND-972

…contact link to be capitalized, use correct URL and open in a new tab
@joshuastegmaier joshuastegmaier marked this pull request as ready for review November 7, 2024 19:26
@joshuastegmaier
Copy link
Collaborator Author

The CodeQL warning is not relevant because we're not actually pulling text out of the DOM. displayMessage just puts its text (which we create/control) in a Text node, so there's no possibility of XSS.

@jkueloc jkueloc merged commit 9235257 into main Nov 7, 2024
7 checks passed
@joshuastegmaier joshuastegmaier deleted the CONCD-972-jstegmaier-contact-link-changes branch November 20, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants