mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 09:14:39 +03:00
only use constant strings in string formatting
builds with go1.24rc1 fail on these. only the case in smtpserver could be triggered externally.
This commit is contained in:
@ -117,7 +117,7 @@ func (s *Sig) Header() (string, error) {
|
||||
} else if i == len(s.SignedHeaders)-1 {
|
||||
v += ";"
|
||||
}
|
||||
w.Addf(sep, v)
|
||||
w.Addf(sep, "%s", v)
|
||||
}
|
||||
}
|
||||
if len(s.CopiedHeaders) > 0 {
|
||||
@ -139,7 +139,7 @@ func (s *Sig) Header() (string, error) {
|
||||
} else if i == len(s.CopiedHeaders)-1 {
|
||||
v += ";"
|
||||
}
|
||||
w.Addf(sep, v)
|
||||
w.Addf(sep, "%s", v)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user