Skip to content

Commit 631d707

Browse files
committed
syz-cluster/pkg/report: don't html escape emails
We send plain text emails, there's no reason to escape them.
1 parent ec20f94 commit 631d707

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

syz-cluster/pkg/report/email.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package report
66
import (
77
"bytes"
88
"embed"
9-
"html/template"
9+
"text/template"
1010

1111
"github.com/google/syzkaller/syz-cluster/pkg/api"
1212
"github.com/google/syzkaller/syz-cluster/pkg/app"

syz-cluster/pkg/report/testdata/1.in.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "abcd",
33
"series": {
4-
"title": "Series title",
4+
"title": "Series title''",
55
"version": 2,
66
"link": "http://link/to/series",
77
"patches": [

syz-cluster/pkg/report/testdata/1.moderation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
syzbot has tested the following series
22

3-
[v2] Series title
3+
[v2] Series title''
44
http://link/to/series
55
* first patch
66
* second patch

syz-cluster/pkg/report/testdata/1.upstream.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
syzbot has tested the following series
22

3-
[v2] Series title
3+
[v2] Series title''
44
http://link/to/series
55
* first patch
66
* second patch

0 commit comments

Comments
 (0)