]> git.kaiwu.me - nginx.git/commitdiff
Reset r->uri_changed in a named location (ticket #184).
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 3 Jul 2012 11:30:05 +0000 (11:30 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 3 Jul 2012 11:30:05 +0000 (11:30 +0000)
src/http/ngx_http_core_module.c

index 5bb01d9ea770a987397390490d71fc20c9a34109..6d7dc0abed43e3c657a0f0395112ea8bda7b4c74 100644 (file)
@@ -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 */