Skip to content

Commit

Permalink
fix(report): escape Message field in asff.tpl template (#7401)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored Aug 27, 2024
1 parent be86126 commit dd9733e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/asff.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"Region": "{{ env "AWS_REGION" }}",
"Details": {
"Other": {
"Message": "{{ .Message }}",
"Message": "{{ escapeString .Message }}",
"Filename": "{{ $target }}",
"StartLine": "{{ .CauseMetadata.StartLine }}",
"EndLine": "{{ .CauseMetadata.EndLine }}"
Expand Down

0 comments on commit dd9733e

Please sign in to comment.