1.修复bug268js注入无效
This commit is contained in:
@@ -1411,7 +1411,7 @@ void http_replace(const struct tfe_stream * stream, const struct tfe_http_sessio
|
||||
rewrite_buff = NULL;
|
||||
rewrite_sz = 0;
|
||||
|
||||
if (in_resp_spec != NULL && in_resp_spec->content_type != NULL
|
||||
if (tfe_http_in_response(events) && in_resp_spec->content_type != NULL
|
||||
&& strstr(in_resp_spec->content_type, "charset=utf-8"))
|
||||
{
|
||||
options = 1;
|
||||
|
||||
Reference in New Issue
Block a user