# HG changeset patch # User Igor Sysoev # Date 1290699384 0 # Node ID 11701c4c03581980d49cb7c339b4616e9305c79d # Parent d8300807c4f399425e36368805a62822bea13c20 use "\" to escape "default", "include", and "hostnames" values instead of "!" diff --git a/src/http/modules/ngx_http_map_module.c b/src/http/modules/ngx_http_map_module.c --- 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++; }