diaosj opened a new issue, #8310: URL: https://github.com/apache/apisix/issues/8310
### Description I use `Host` header in the coming request to generate API signature (something like `Authorization: xxx`). I find that the `ctx.var.host` doesn't contain `port`. Take `Host: 127.0.0.1:80` as an example. `ctx.var.host` is `127.0.0.1`, while `ctx.var.http_host` is `127.0.0.1:80`. It seems that `ctx.var.host` is used in `route.lua`, `radixtree_host_uri.lua`. I wonder whether `port` should be in host or not. ### Environment - APISIX version (run `apisix version`): 2.7 - Operating system (run `uname -a`): Linux - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): openresty/1.19.3.2 -- 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]
