aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_map_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-11-25 15:36:24 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-11-25 15:36:24 +0000
commit07335d89df3cdd871fefe3bc4e6147f7ed37a2f1 (patch)
treea3687ce12a8b1cd3b0b6c043a9040471a60be87a /src/http/modules/ngx_http_map_module.c
parent04e145d2dae00c4dbec354b6921e65515e4fdd85 (diff)
downloadnginx-07335d89df3cdd871fefe3bc4e6147f7ed37a2f1.tar.gz
nginx-07335d89df3cdd871fefe3bc4e6147f7ed37a2f1.zip
use "\" to escape "default", "include", and "hostnames" values instead of "!"
Diffstat (limited to 'src/http/modules/ngx_http_map_module.c')
-rw-r--r--src/http/modules/ngx_http_map_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_map_module.c b/src/http/modules/ngx_http_map_module.c
index 8f925a10c..e8e95f20a 100644
--- a/src/http/modules/ngx_http_map_module.c
+++ b/src/http/modules/ngx_http_map_module.c
@@ -434,7 +434,7 @@ found:
return NGX_CONF_OK;
}
- if (value[0].len && value[0].data[0] == '!') {
+ if (value[0].len && value[0].data[0] == '\\') {
value[0].len--;
value[0].data++;
}