aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/table.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-03-11 17:31:24 +0100
committerRobin Jarry <robin@jarry.cc>2024-04-13 22:37:22 +0200
commitf204c736759f4d6647a50aa94a415545c0d3a8f7 (patch)
tree51a5febd494ed4ac0d9427ffbeb18a8bd536a835 /lib/ui/table.go
parent953355acc950c53ee95469bad2ee9e9c206970a3 (diff)
downloadaerc-f204c736759f4d6647a50aa94a415545c0d3a8f7.tar.gz
compose,viewer: do not always wrap people names in quotes
Currently, names of recipients in From, To, Cc and Bcc headers are (almost) always wrapped in quotes. Even if they are pure ASCII and contain one upper case letter. E.g.: From: "Foo" <foo@baz.org> There is no valid reason to add these quotes unless the name contains special characters as specified by RFC 5322, section 3.2.3: specials = "(" / ")" / ; Special characters that do "<" / ">" / ; not appear in atext "[" / "]" / ":" / ";" / "@" / "\" / "," / "." / DQUOTE Adapt the check accordingly. Link: https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3 Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'lib/ui/table.go')
0 files changed, 0 insertions, 0 deletions