aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_script.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-06-22 18:34:58 +0400
committerSergey Kandaurov <pluknet@nginx.com>2022-06-22 18:34:58 +0400
commitc64e2ec1e94974193c286b63db4f58e6e499f5cb (patch)
tree144428623b095d53c37fbecd31b0026a321dfec6 /src/http/ngx_http_script.c
parent854e41fec24e1f292ec5a951e7bfc9377afc0905 (diff)
parent1009f5586ccf07375595675227d296815d91b2f2 (diff)
downloadnginx-c64e2ec1e94974193c286b63db4f58e6e499f5cb.tar.gz
nginx-c64e2ec1e94974193c286b63db4f58e6e499f5cb.zip
Merged with the default branch.
Diffstat (limited to 'src/http/ngx_http_script.c')
-rw-r--r--src/http/ngx_http_script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
index bebdbd92b..a2b9f1b7b 100644
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -1243,6 +1243,7 @@ ngx_http_script_regex_end_code(ngx_http_script_engine_t *e)
}
r->headers_out.location->hash = 1;
+ r->headers_out.location->next = NULL;
ngx_str_set(&r->headers_out.location->key, "Location");
r->headers_out.location->value = e->buf;