# HG changeset patch # User Maxim Dounin # Date 1341315005 0 # Node ID cebbe4fda8aa63fc8ae5cc2c5faeb390685a8fec # Parent 9859cd78ab30234b66553a6ee746fc98abba2a7d Reset r->uri_changed in a named location (ticket #184). diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- 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 r->internal = 1; r->content_handler = NULL; + r->uri_changed = 0; r->loc_conf = (*clcfp)->loc_conf; /* clear the modules contexts */