This is an automated email from the ASF dual-hosted git repository. wenming pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push: new 101fe73 bugfix: fix CIDR ip html escaped for real_ip_from in `apisix` (#1007) 101fe73 is described below commit 101fe73525d2ed29bc21c89f8bfd89e30f8ff399 Author: ChelinTsien <jun54...@gmail.com> AuthorDate: Mon Dec 30 17:51:55 2019 +0800 bugfix: fix CIDR ip html escaped for real_ip_from in `apisix` (#1007) when the value of set_real_ip_from is CIDR, the {{real_ip}} will html escaped. --- bin/apisix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/apisix b/bin/apisix index 250534c..97f1a22 100755 --- a/bin/apisix +++ b/bin/apisix @@ -196,7 +196,7 @@ http { real_ip_header {* real_ip_header *}; {% for _, real_ip in ipairs(real_ip_from) do %} - set_real_ip_from {{real_ip}}; + set_real_ip_from {*real_ip*}; {% end %} upstream apisix_backend {