changeset 3791:11701c4c0358

use "\" to escape "default", "include", and "hostnames" values instead of "!"
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Nov 2010 15:36:24 +0000
parents d8300807c4f3
children 164a7f8df979
files src/http/modules/ngx_http_map_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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++;
     }