Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 3836:9ccda889a355 stable-0.7
set r->valid_unparsed_uri just after request line processing,
it allows to use X-Accel-Redirect'ed URI in a proxy_pass without URI part
this fix corresponds to r3616
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 14 Dec 2010 19:15:08 +0000 |
parents | 771d28b86077 |
children | c93b1c05436c |
comparison
equal
deleted
inserted
replaced
3835:e122e166987f | 3836:9ccda889a355 |
---|---|
750 | 750 |
751 | 751 |
752 r->unparsed_uri.len = r->uri_end - r->uri_start; | 752 r->unparsed_uri.len = r->uri_end - r->uri_start; |
753 r->unparsed_uri.data = r->uri_start; | 753 r->unparsed_uri.data = r->uri_start; |
754 | 754 |
755 r->valid_unparsed_uri = 1; | |
755 | 756 |
756 r->method_name.len = r->method_end - r->request_start + 1; | 757 r->method_name.len = r->method_end - r->request_start + 1; |
757 r->method_name.data = r->request_line.data; | 758 r->method_name.data = r->request_line.data; |
758 | 759 |
759 | 760 |