We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a1698 commit 60c989fCopy full SHA for 60c989f
pkg/task_logger/task_logger.go
@@ -2,7 +2,6 @@ package task_logger
2
3
import (
4
"os/exec"
5
- "strings"
6
"time"
7
)
8
@@ -53,8 +52,12 @@ func (s TaskStatus) Format() (res string) {
53
52
res += "⏹️"
54
case TaskWaitingConfirmation:
55
res += "⚠️"
+ default:
56
+ res += "❓"
57
}
- res += strings.ToUpper(string(s))
58
+
59
+ // to avoid email content injection issue
60
+ //res += strings.ToUpper(string(s))
61
62
return
63
util/mailer/mailer.go
@@ -2,10 +2,10 @@ package mailer
"bytes"
- "html/template"
"net"
"net/smtp"
"strings"
+ "text/template"
9
10
11
0 commit comments