Donghui0 opened a new issue #5077:
URL: https://github.com/apache/apisix/issues/5077


   ### Issue description
   
   In radixtree_host_uri mode.   api_ctx.curr_req_matched._path was eventually 
replaced by  `host_rev`
   
   example:
         request:  http://123.com/x1         api_ctx.curr_req_matched._path  
replaced by  `moc.321`
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): v2.9
   - OS (cmd: `uname -a`): centos7
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): 1.19.3.1
   
   
   ### Steps to reproduce
   
   1: adjustment mode, change to `radixtree_host_uri`
   2: request  apisix route
   3: query apisx:9091/apisx/promethues/metrics.
   
   
   ### Actual result
   
   host reverse.  
   example:
         request:  http://123.com/x1         api_ctx.curr_req_matched._path  
replaced by  `moc.321`
   
   ### Error log
   
   none
   
   ### Expected result
   
   api_ctx.curr_req_matched._path  replaced by  `matched_ops.uri`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to