This commit is contained in:
ar-an-ribe 2025-12-11 16:38:02 +03:00 committed by GitHub
commit 20a35beb50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -1115,6 +1115,11 @@ ngx_http_script_regex_start_code(ngx_http_script_engine_t *e)
e->sp++;
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;
}