Changes between Initial Version and Version 1 of Ticket #2402


Ignore:
Timestamp:
10/28/22 09:03:36 (21 months ago)
Author:
akf00000@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2402 – Description

    initial v1  
    33we should change it like this:
    44
    5 \-    if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) {
     5
     6{{{
     7@@ -147,7 +147,7 @@ ngx_http_rewrite_handler(ngx_http_request_t *r)
     8     cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module);
     9     index = cmcf->phase_engine.location_rewrite_index;
     10 
     11-    if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) {
    612+    if (r->phase_handler >= index && r->loc_conf == cscf->ctx->loc_conf) {
    713         /* skipping location rewrite phase for server null location */
    814         return NGX_DECLINED;
    915     }
     16
     17}}}
     18