CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2024/01/28 10:23:17

Modified files:
        usr.sbin/smtpd : smtp_session.c 

Log message:
allow escaping inside quotes

RFC5322 allows for escapes using \ inside quotes.  Otherwise, headers
such as

From: "\"Doe, John\"" <op>

get mangled as "\"Doe@localhost, John\" <op> since \ would be treated as
ordinary character and not the escape for the quote.

Bug reported by TobiasEgg on the OpenSMTPD-portable github repository.

ok millert@

Reply via email to