comparison src/http/ngx_http_core_module.c @ 3615:31e9677b15a1

allow spaces in URI
author Igor Sysoev <igor@sysoev.ru>
date Tue, 15 Jun 2010 09:31:19 +0000
parents 64bd39f03182
children 920919d9148c
comparison
equal deleted inserted replaced
3614:4b4385492f2a 3615:31e9677b15a1
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;