comparison src/http/ngx_http_request.c @ 591:bc110f60c0de NGINX_0_8_41

nginx 0.8.41 *) Security: nginx/Windows worker might be terminated abnormally if a requested file name has invalid UTF-8 encoding. *) Change: now nginx allows to use spaces in a request line. *) Bugfix: the "proxy_redirect" directive changed incorrectly a backend "Refresh" response header line. Thanks to Andrey Andreew and Max Sogin. *) Bugfix: nginx did not support path without host name in "Destination" request header line.
author Igor Sysoev <http://sysoev.ru>
date Tue, 15 Jun 2010 00:00:00 +0400
parents 01f2313e34f1
children 016632f0fb18
comparison
equal deleted inserted replaced
590:dd4c3325a56f 591:bc110f60c0de
754 754
755 755
756 r->unparsed_uri.len = r->uri_end - r->uri_start; 756 r->unparsed_uri.len = r->uri_end - r->uri_start;
757 r->unparsed_uri.data = r->uri_start; 757 r->unparsed_uri.data = r->uri_start;
758 758
759 r->valid_unparsed_uri = r->space_in_uri ? 0 : 1;
759 760
760 r->method_name.len = r->method_end - r->request_start + 1; 761 r->method_name.len = r->method_end - r->request_start + 1;
761 r->method_name.data = r->request_line.data; 762 r->method_name.data = r->request_line.data;
762 763
763 764