Skip to content

Commit

Permalink
Production Release
Browse files Browse the repository at this point in the history
Sprint 44 Issues:
December 2024 Separation Report - Remove User #702
Static Code Vulnerability: js/incomplete-URL-substring-sanitization #698
  • Loading branch information
felder101 committed Dec 5, 2024
1 parent 76d497b commit 374211b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ alembic==1.10.2
PyMuPDF==1.21.1
pydantic-settings==2.0.2
email-validator==2.0.0.post2
python-multipart==0.0.7
python-multipart==0.0.18
7 changes: 5 additions & 2 deletions training-front-end/src/plugins/uswds_links.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ export function processLinksPlugin() {
// these will all be local, so ignore
return
}

if (!(domain.hostname === 'gsa.gov' || domain.hostname === 'www.gsa.gov'|| domain.protocol === 'mailto:')) {
const internalHost = [
'gsa.gov',
'www.gsa.gov'
]
if (!(internalHost.includes(domain.hostname) || domain.protocol === 'mailto:')) {
properties.className += ' usa-link--external'
}

Expand Down

0 comments on commit 374211b

Please sign in to comment.