]> git.kaiwu.me - nginx.git/commitdiff
use "\" to escape "default", "include", and "hostnames" values instead of "!"
authorIgor Sysoev <igor@sysoev.ru>
Thu, 25 Nov 2010 15:36:24 +0000 (15:36 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 25 Nov 2010 15:36:24 +0000 (15:36 +0000)
src/http/modules/ngx_http_map_module.c

index 8f925a10ca1f652d7277c427b2c20c25cbe514e6..e8e95f20ad4c6e9775b78ea62868a03e8fc64166 100644 (file)
@@ -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++;
     }