Open simayosi opened 6 months ago
Since headers_in.user.data is not terminated by NUL, p is not NULL for a no-realm username if the password contains '@'. This patch fixes it by replacing ngx_strchr with ngx_strlchr.
ngx_strchr
ngx_strlchr
Since headers_in.user.data is not terminated by NUL, p is not NULL for a no-realm username if the password contains '@'. This patch fixes it by replacing
ngx_strchr
withngx_strlchr
.