map tests values in low case only, so caseless regex has no sense

This commit is contained in:
Igor Sysoev 2011-03-21 15:18:59 +00:00
parent c9d671cd81
commit 921ac21acf

View File

@ -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;