Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-03-21 18:18:59 +0300
committerIgor Sysoev <igor@sysoev.ru>2011-03-21 18:18:59 +0300
commit921ac21acf3c67bb1e78fa068ded951d16d2f00b (patch)
treeae0c804db30a6137764752055140d810c57fdba3 /src
parentc9d671cd812f826fded2834eeeec1f4fc9c5aee0 (diff)
map tests values in low case only, so caseless regex has no sense
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_map_module.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/http/modules/ngx_http_map_module.c b/src/http/modules/ngx_http_map_module.c
index 9dc0ef6fc..5aa23eba3 100644
--- 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;