This commit is contained in:
ar-an-ribe 2025-05-27 00:38:47 +02:00 committed by GitHub
commit 87ac001891
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}