changeset 4736:cebbe4fda8aa

Reset r->uri_changed in a named location (ticket #184).
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 03 Jul 2012 11:30:05 +0000
parents 9859cd78ab30
children 9acc1a5a5b9a
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */