comparison src/http/ngx_http_request.c @ 518:4b0d7f0bf22b NGINX_0_8_6

nginx 0.8.6 *) Feature: the ngx_http_geoip_module. *) Bugfix: XSLT filter may fail with message "not well formed XML document" for valid XML document. Thanks to Kuramoto Eiji. *) Bugfix: now in MacOSX, Cygwin, and nginx/Windows locations given by a regular expression are always tested in case insensitive mode; *) Bugfix: now nginx/Windows ignores trailing dots in URI. Thanks to Hugo Leisink. *) Bugfix: name of file specified in --conf-path was not honored during installation; the bug had appeared in 0.6.6. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Mon, 20 Jul 2009 00:00:00 +0400
parents e8b686f230a8
children 24b676623d4f
comparison
equal deleted inserted replaced
516:0001f4fa0501 518:4b0d7f0bf22b
764 if (r->args_start && r->uri_end > r->args_start) { 764 if (r->args_start && r->uri_end > r->args_start) {
765 r->args.len = r->uri_end - r->args_start; 765 r->args.len = r->uri_end - r->args_start;
766 r->args.data = r->args_start; 766 r->args.data = r->args_start;
767 } 767 }
768 768
769 #if (NGX_WIN32)
770 {
771 u_char *p;
772
773 p = r->uri.data + r->uri.len - 1;
774
775 if (*p == '.') {
776
777 while (--p > r->uri.data && *p == '.') { /* void */ }
778
779 r->uri.len = p + 1 - r->uri.data;
780
781 ngx_http_set_exten(r);
782 }
783 }
784 #endif
769 785
770 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, 786 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
771 "http request line: \"%V\"", &r->request_line); 787 "http request line: \"%V\"", &r->request_line);
772 788
773 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, 789 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,