# HG changeset patch # User Maxim Dounin # Date 1344266403 0 # Node ID 7d0c7bf2874d4d8e97e1513eb2acaa06f79086d4 # Parent 9fda024be57333d486001d2b8928ad9f7c738e1b Merge of r4737: r->uri_changed in a named location fix. 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 */