From 29dd3e2d6fc812dd6aeb536b5d2eb2c2dac9d3f9 Mon Sep 17 00:00:00 2001 From: BotoX Date: Fri, 20 Mar 2026 13:23:38 +0100 Subject: [PATCH] allow table for multiple values in ngx.header['WWW-Authenticate'] fixes #2400 --- src/ngx_http_lua_headers_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngx_http_lua_headers_out.c b/src/ngx_http_lua_headers_out.c index c51146a3fc..84cd335ea7 100644 --- a/src/ngx_http_lua_headers_out.c +++ b/src/ngx_http_lua_headers_out.c @@ -80,7 +80,7 @@ static ngx_http_lua_set_header_t ngx_http_lua_set_handlers[] = { { ngx_string("WWW-Authenticate"), offsetof(ngx_http_headers_out_t, www_authenticate), - ngx_http_set_builtin_header }, + ngx_http_set_builtin_multi_header }, { ngx_string("Expires"), offsetof(ngx_http_headers_out_t, expires),