]> git.kaiwu.me - nginx.git/commit
Mail: disabled handling of headers without a colon in auth_http
authorVadim Zhestikov <v.zhestikov@f5.com>
Wed, 28 Oct 2026 15:55:50 +0000 (08:55 -0700)
committerVadimZhestikov <108960056+VadimZhestikov@users.noreply.github.com>
Wed, 28 Oct 2026 17:08:44 +0000 (10:08 -0700)
commit297861bf6cdf2d3ebeddce860059ddaa20a050b2
treeebe04966c3059e856bdec4da1dc38986724ba097
parentda92f58a0603949970d0c217bbd81139e24599ab
Mail: disabled handling of headers without a colon in auth_http

Header names not followed by a colon and a value in an auth_http server
response were accepted as headers with an empty value, similarly to
ngx_http_parse_header_line().  With this change, such headers are
rejected with the "sent invalid header in response" error, and the
client gets the internal server error reply.

The problem appeared in 5192b3651 (0.1.38).
src/mail/ngx_mail_auth_http_module.c