diff src/core/ngx_string.h @ 2008:66dc85397a90

escape 0x00-0x1f, ", and \ in access log variables
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 May 2008 15:09:39 +0000
parents cb8c0c8e0c27
children 2f2052fdd882 d7d3a72c07d8
line wrap: on
line diff
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -25,11 +25,12 @@ typedef struct {
 
 
 typedef struct {
-    unsigned    len:29;
+    unsigned    len:28;
 
     unsigned    valid:1;
     unsigned    no_cacheable:1;
     unsigned    not_found:1;
+    unsigned    escape:1;
 
     u_char     *data;
 } ngx_variable_value_t;