Commit Graph

5 Commits

Author SHA1 Message Date
Wen Ming
c76e7e3623
feature: remove lua dir. (#1351) 2020-03-31 23:23:29 +08:00
YuanSheng Wang
51684de77b
bugfix: fail to get the http request header by ngx.var. * (#1348)
* bugfix: to get the HTTP request header by `ngx.var.*`, we need to convert
  the name to lower case with dashes replaced by underscores.

more information:

http://nginx.org/en/docs/http/ngx_http_core_module.html#var_http_

* change: the key should be a string object when fetching a value from `ctx.var`.

* bug(make lint): If the code style is bad, do exit with code 1.
2020-03-27 23:13:46 +08:00
YuanSheng Wang
94cc688fc1
bugfix: installed lua file in folder lua/apisix/utils . (#1342) 2020-03-27 07:34:08 +08:00
YuanSheng Wang
2870b79833
bugfix: missing clear table before to reuse table. (#1134)
* test: avoid to use regex for matching output.
2020-02-18 21:46:56 +08:00
YuanSheng Wang
6d8907f4ff
code style: use new lj-releng to catch all exceptions. (#1135) 2020-02-18 15:54:30 +08:00