diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index a2b9f1b7b..7d5001936 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -535,6 +535,10 @@ ngx_http_script_compile(ngx_http_script_compile_t *sc) continue; } + if (ch == '-' && bracket) { + continue; + } + break; }