Mercurial > hg > nginx-quic
changeset 3874:cb2432ed17fd
map tests values in low case only, so caseless regex has no sense
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 21 Mar 2011 15:18:59 +0000 |
parents | eae4a59ae59a |
children | 27e2f3b7a3db |
files | src/http/modules/ngx_http_map_module.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_map_module.c +++ b/src/http/modules/ngx_http_map_module.c @@ -529,12 +529,6 @@ found: ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); - if (value[0].data[0] == '*') { - value[0].len--; - value[0].data++; - rc.options = NGX_REGEX_CASELESS; - } - rc.pattern = value[0]; rc.err.len = NGX_MAX_CONF_ERRSTR; rc.err.data = errstr;