Skip to content

Commit

Permalink
Merge pull request #4759 from bcgov/feat/4502
Browse files Browse the repository at this point in the history
chore(4502): ignore email tag vulnerability warnings
  • Loading branch information
junminahn authored Jan 24, 2025
2 parents c387d18 + dace377 commit f1542b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/services/ches/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ export async function sendEmail(email: Email) {
'*': ['style', 'class'],
link: ['rel', 'href'],
},
allowVulnerableTags: true, // 'style' tag for BCSans fonts
},
);

logger.info({ type: 'email body', body });

const response = await fetchWithTimeout(`${apiUrl}/email`, {
method: 'POST',
headers: {
Expand Down

0 comments on commit f1542b2

Please sign in to comment.