mirror of
https://github.com/nginx/nginx.git
synced 2025-02-03 03:50:35 -06:00
revert r3875 since now map uses case sensetive regexes by default
This commit is contained in:
parent
53d05b969b
commit
5343bf3221
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user