mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Merge 108a6147b2
into 5b8a5c08ce
This commit is contained in:
commit
87ac001891
@ -1115,6 +1115,11 @@ ngx_http_script_regex_start_code(ngx_http_script_engine_t *e)
|
|||||||
e->sp++;
|
e->sp++;
|
||||||
|
|
||||||
e->ip += sizeof(ngx_http_script_regex_code_t);
|
e->ip += sizeof(ngx_http_script_regex_code_t);
|
||||||
|
|
||||||
|
/* Resolve issue #611 (https://github.com/nginx/nginx/issues/611). */
|
||||||
|
if (NULL == strchr((const char *) e->line.data, '%')) {
|
||||||
|
e->quote = 0;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user