]> git.ipfire.org Git - thirdparty/suricata.git/commit
smtp: respect quotes for to and cc logging
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 4 Jun 2024 13:24:18 +0000 (15:24 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 21 Jun 2024 08:21:22 +0000 (10:21 +0200)
commit897fc4ccea7dcdf37b48808a3e1ae3a656737867
tree16bfc62bab6177f295a94dbe1e3f4243bf84b9f8
parentb9cd802e86972a3b802358f0f05fc967ea59e236
smtp: respect quotes for to and cc logging

When splitting the field over commas, skip the commas
which are innside quotes

Ticket: 7060

Not a direct backport, but heavily inspired by new rust code
handling it
src/output-json-email-common.c