Skip to content

Commit

Permalink
fix: security vulnerability (#3497)
Browse files Browse the repository at this point in the history
This was an oversight of #3402
  • Loading branch information
gastonfournier committed Apr 11, 2023
1 parent 6afa524 commit 5ff883b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/routes/admin-api/email.ts
Expand Up @@ -41,7 +41,7 @@ export default class EmailController extends Controller {
const { template } = req.params;
const ctx = req.query;
const data = await this.emailService.compileTemplate(
template,
sanitize(template),
TemplateFormat.PLAIN,
ctx,
);
Expand Down

0 comments on commit 5ff883b

Please sign in to comment.