diff src/http/modules/ngx_http_ssi_filter_module.c @ 1260:c3541b8973de

if "<!--" was on edge of buf, then ssi_sharp_state was saved in ctx->saved and if it was not reset, then any '#' was treated as SSI command start
author Igor Sysoev <igor@sysoev.ru>
date Sun, 17 Jun 2007 17:54:48 +0000
parents 99c56c0f514e
children 58691d40829f
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -1020,6 +1020,7 @@ ngx_http_ssi_parse(ngx_http_request_t *r
                 ch = *p;
             }
 
+            ctx->state = state;
             ctx->pos = p;
             ctx->looked = looked;
             ctx->copy_end = p;