revert r3875 since now map uses case sensetive regexes by default

This commit is contained in:
Igor Sysoev 2011-05-30 14:24:17 +00:00
parent 53d05b969b
commit 5343bf3221

View File

@ -526,6 +526,12 @@ 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;