mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 13:04:38 +03:00
fix delivery from/to smtp addresses with double quotes
found while adding tests for smtp and imap for address with empty double (double quoted) localparts.
This commit is contained in:
@ -336,6 +336,7 @@ func (p *parser) xlocalpart() smtp.Localpart {
|
||||
|
||||
// ../rfc/5321:2324
|
||||
func (p *parser) xquotedString(islocalpart bool) string {
|
||||
p.xtake(`"`)
|
||||
var s string
|
||||
var esc bool
|
||||
for {
|
||||
|
Reference in New Issue
Block a user