comparison src/http/ngx_http_core_module.c @ 578: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 7858d4f8dec4
children 4d3e880ce86c
comparison
equal deleted inserted replaced
577:dd4c3325a56f 578:bc110f60c0de
820 r->phase_handler = 0; 820 r->phase_handler = 0;
821 821
822 } else { 822 } else {
823 cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module); 823 cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module);
824 r->phase_handler = cmcf->phase_engine.server_rewrite_index; 824 r->phase_handler = cmcf->phase_engine.server_rewrite_index;
825 }
826
827 if (r->unparsed_uri.len) {
828 r->valid_unparsed_uri = 1;
829 } 825 }
830 826
831 r->valid_location = 1; 827 r->valid_location = 1;
832 #if (NGX_HTTP_GZIP) 828 #if (NGX_HTTP_GZIP)
833 r->gzip_tested = 0; 829 r->gzip_tested = 0;
3705 { (u_char *) "OPTIONS", (uint32_t) ~NGX_HTTP_OPTIONS }, 3701 { (u_char *) "OPTIONS", (uint32_t) ~NGX_HTTP_OPTIONS },
3706 { (u_char *) "PROPFIND" , (uint32_t) ~NGX_HTTP_PROPFIND }, 3702 { (u_char *) "PROPFIND" , (uint32_t) ~NGX_HTTP_PROPFIND },
3707 { (u_char *) "PROPPATCH", (uint32_t) ~NGX_HTTP_PROPPATCH }, 3703 { (u_char *) "PROPPATCH", (uint32_t) ~NGX_HTTP_PROPPATCH },
3708 { (u_char *) "LOCK", (uint32_t) ~NGX_HTTP_LOCK }, 3704 { (u_char *) "LOCK", (uint32_t) ~NGX_HTTP_LOCK },
3709 { (u_char *) "UNLOCK", (uint32_t) ~NGX_HTTP_UNLOCK }, 3705 { (u_char *) "UNLOCK", (uint32_t) ~NGX_HTTP_UNLOCK },
3706 { (u_char *) "PATCH", (uint32_t) ~NGX_HTTP_PATCH },
3710 { NULL, 0 } 3707 { NULL, 0 }
3711 }; 3708 };
3712 3709
3713 3710
3714 static char * 3711 static char *