# HG changeset patch # User Igor Sysoev # Date 1300720739 0 # Node ID cb2432ed17fd1ceb6ae399c3f6ca49171eb32ea4 # Parent eae4a59ae59af55ef725b265267ad0ef8cf0efeb map tests values in low case only, so caseless regex has no sense diff --git a/src/http/modules/ngx_http_map_module.c b/src/http/modules/ngx_http_map_module.c --- 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;