diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-06-17 17:54:48 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-06-17 17:54:48 +0000 |
| commit | de278125c17e209467097512c7da8519dcb9ab69 (patch) | |
| tree | db88d2f1e2d9608078329bf7e5b72a84dccf2e7a | |
| parent | def1e7439fe14d343368e372b611891f976e4c5e (diff) | |
| download | nginx-de278125c17e209467097512c7da8519dcb9ab69.tar.gz nginx-de278125c17e209467097512c7da8519dcb9ab69.tar.bz2 | |
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.c | 1 |
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; |
