mirror of
https://github.com/nginx/nginx.git
synced 2025-08-01 02:56:15 +08:00
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:
parent
473b722e29
commit
58ba72e3af
@ -1020,6 +1020,7 @@ ngx_http_ssi_parse(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx)
|
|||||||
ch = *p;
|
ch = *p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ctx->state = state;
|
||||||
ctx->pos = p;
|
ctx->pos = p;
|
||||||
ctx->looked = looked;
|
ctx->looked = looked;
|
||||||
ctx->copy_end = p;
|
ctx->copy_end = p;
|
||||||
|
Loading…
Reference in New Issue
Block a user