mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 19:41:35 +00:00
map tests values in low case only, so caseless regex has no sense
This commit is contained in:
parent
c9d671cd81
commit
921ac21acf
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue