comparison src/http/modules/ngx_http_rewrite_module.c @ 5816:16a371063d20

Variables: updated list of prefixes in ngx_http_rewrite_set().
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 27 Aug 2014 21:38:08 +0400
parents 8b635cf36ccc
children 055d1f63960a
comparison
equal deleted inserted replaced
5815:6c99c5f00fc9 5816:16a371063d20
928 } 928 }
929 929
930 if (v->get_handler == NULL 930 if (v->get_handler == NULL
931 && ngx_strncasecmp(value[1].data, (u_char *) "http_", 5) != 0 931 && ngx_strncasecmp(value[1].data, (u_char *) "http_", 5) != 0
932 && ngx_strncasecmp(value[1].data, (u_char *) "sent_http_", 10) != 0 932 && ngx_strncasecmp(value[1].data, (u_char *) "sent_http_", 10) != 0
933 && ngx_strncasecmp(value[1].data, (u_char *) "upstream_http_", 14) != 0) 933 && ngx_strncasecmp(value[1].data, (u_char *) "upstream_http_", 14) != 0
934 && ngx_strncasecmp(value[1].data, (u_char *) "cookie_", 7) != 0
935 && ngx_strncasecmp(value[1].data, (u_char *) "upstream_cookie_", 16)
936 != 0
937 && ngx_strncasecmp(value[1].data, (u_char *) "arg_", 4) != 0)
934 { 938 {
935 v->get_handler = ngx_http_rewrite_var; 939 v->get_handler = ngx_http_rewrite_var;
936 v->data = index; 940 v->data = index;
937 } 941 }
938 942