# HG changeset patch # User Igor Sysoev # Date 1267628886 0 # Node ID e51e8ec95b508f0a9d366773daeba6c2c0dc5050 # Parent bbea0b19b6087a9c262d44aed04e69f2c2cdda7c use a right "Location" header name, however, it did not harm, since ngx_http_variable_sent_location() never use key name field diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c --- a/src/http/ngx_http_header_filter_module.c +++ b/src/http/ngx_http_header_filter_module.c @@ -538,8 +538,8 @@ ngx_http_header_filter(ngx_http_request_ r->headers_out.location->value.len = b->last - p; r->headers_out.location->value.data = p; - r->headers_out.location->key.len = sizeof("Location: ") - 1; - r->headers_out.location->key.data = (u_char *) "Location: "; + r->headers_out.location->key.len = sizeof("Location") - 1; + r->headers_out.location->key.data = (u_char *) "Location"; *b->last++ = CR; *b->last++ = LF; }