From 3484e6d21ca231b32ac6bac86d0c61c92b6b07e8 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Tue, 3 Jul 2012 11:30:05 +0000 Subject: [PATCH] Reset r->uri_changed in a named location (ticket #184). --- src/http/ngx_http_core_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 5bb01d9ea..6d7dc0abe 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2588,6 +2588,7 @@ ngx_http_named_location(ngx_http_request_t *r, ngx_str_t *name) r->internal = 1; r->content_handler = NULL; + r->uri_changed = 0; r->loc_conf = (*clcfp)->loc_conf; /* clear the modules contexts */