summaryrefslogtreecommitdiffhomepage
path: root/src/misc/ngx_cpp_test_module.cpp
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2026-02-26 11:52:53 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2026-03-24 22:33:23 +0400
commit6a8513761fb327f67fcc6cfcf1ad216887e2589f (patch)
treed13355e714c45c06beae0361e2abff5c33c34d0e /src/misc/ngx_cpp_test_module.cpp
parenta1d18284e0a173c4ef2b28425535d0f640ae0a82 (diff)
downloadnginx-6a8513761fb327f67fcc6cfcf1ad216887e2589f.tar.gz
nginx-6a8513761fb327f67fcc6cfcf1ad216887e2589f.tar.bz2
Mail: host validation.
Now host name resolved from client address is validated to only contain the characters specified in RFC 1034, Section 3.5. The validation allows to avoid injections when using the resolved host name in auth_http and smtp proxy. Reported by Asim Viladi Oglu Manizada, Colin Warren, Xiao Liu (Yunnan University), Yuan Tan (UC Riverside), and Bird Liu (Lanzhou University).
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions