diff src/http/ngx_http_variables.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 4c43e25d11ea
children f62751dab60d
line wrap: on
line diff
--- a/src/http/ngx_http_variables.h
+++ b/src/http/ngx_http_variables.h
@@ -16,7 +16,7 @@
 
 typedef ngx_variable_value_t  ngx_http_variable_value_t;
 
-#define ngx_http_variable(v)     { sizeof(v) - 1, 1, 0, 0, (u_char *) v }
+#define ngx_http_variable(v)     { sizeof(v) - 1, 1, 0, 0, 0, (u_char *) v }
 
 typedef struct ngx_http_variable_s  ngx_http_variable_t;