changeset 1262:827ab2d114b5 stable-0.5

r1261 merge: 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 18:52:06 +0000
parents bc43fac18fc3
children 5d0112d6b1a5
files src/http/modules/ngx_http_ssi_filter_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;