﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2402	Not right to skip location rewrite phase for server null location.	akf00000@…		"Not right to skip location rewrite phase for server null location.
In function ngx_http_rewrite_handler, the contidion to skip is not right.
we should change it like this:

\-    if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) {
+    if (r->phase_handler >= index && r->loc_conf == cscf->ctx->loc_conf) {
         /* skipping location rewrite phase for server null location */
         return NGX_DECLINED;
     }
"	defect	new	minor		documentation	1.19.x				Linux localhost.localdomain 3.10.0-1160.el7.x86_64	"nginx version: nginx/1.21.7
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)
TLS SNI support enabled
"
