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
This commit is contained in:
Igor Sysoev 2007-06-17 18:52:06 +00:00
parent 473b722e29
commit 58ba72e3af

View File

@ -1020,6 +1020,7 @@ ngx_http_ssi_parse(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx)
ch = *p;
}
ctx->state = state;
ctx->pos = p;
ctx->looked = looked;
ctx->copy_end = p;