summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-06-17 18:52:06 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-06-17 18:52:06 +0000
commit58ba72e3af3cddfaa9c49056d428da8b17e12135 (patch)
treec1906abd016f5af1dad2b840e31bde82ccdc22ac
parent473b722e2948406d61a634d1bc227d0cce3e091a (diff)
downloadnginx-58ba72e3af3cddfaa9c49056d428da8b17e12135.tar.gz
nginx-58ba72e3af3cddfaa9c49056d428da8b17e12135.tar.bz2
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
-rw-r--r--src/http/modules/ngx_http_ssi_filter_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c
index f16c34736..5343ca0be 100644
--- 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, ngx_http_ssi_ctx_t *ctx)
ch = *p;
}
+ ctx->state = state;
ctx->pos = p;
ctx->looked = looked;
ctx->copy_end = p;