mirror of
https://github.com/nginx/nginx.git
synced 2025-08-05 22:26:15 +08:00
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
def1e7439f
commit
de278125c1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user