nits, removing a old todo and a stray newline

This commit is contained in:
Mechiel Lukkien 2023-11-11 19:14:19 +01:00
parent 2073db194b
commit dcee0345ef
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -414,8 +414,7 @@ func sendReportDomain(ctx context.Context, log *mlog.Log, resolver dns.Resolver,
subject := fmt.Sprintf("Report Domain: %s Submitter: %s Report-ID: <%s>", polDom.ASCII, fromDom, report.ReportID) subject := fmt.Sprintf("Report Domain: %s Submitter: %s Report-ID: <%s>", polDom.ASCII, fromDom, report.ReportID)
// Human-readable part for convenience. ../rfc/8460:917 // Human-readable part for convenience. ../rfc/8460:917
text := fmt.Sprintf(` text := fmt.Sprintf(`Attached is a TLS report with a summary of connection successes and failures
Attached is a TLS report with a summary of connection successes and failures
during attempts to securely deliver messages to your mail server, including during attempts to securely deliver messages to your mail server, including
details about errors encountered. You are receiving this message because your details about errors encountered. You are receiving this message because your
address is specified in the "rua" field of the TLSRPT record for your address is specified in the "rua" field of the TLSRPT record for your

View file

@ -140,7 +140,6 @@ type Attachment struct {
// File name based on "name" attribute of "Content-Type", or the "filename" // File name based on "name" attribute of "Content-Type", or the "filename"
// attribute of "Content-Disposition". // attribute of "Content-Disposition".
// todo: decode non-ascii character sets
Filename string Filename string
Part message.Part Part message.Part