HaiYan

Results 9 issues of HaiYan

能够支持非图片文件的上传和下载, zimg.lua中做2处修改: 1. format = 'jpeg' 改为 format = 'none' 2. allowed_type改为 allowed_type = {'image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'image/webp', 'application/zip', 'application/pdf', 'application/msword', 'application/.docx', 'application/octet-stream'} 上传时http头中加 zimg-filename:文件名 , 例如: zimg-filename:a.pdf 下载非图片文件时需要加p=0参数...

### Description The ip-restriction Plugin now restricting access with remote_addr, not suitable for where there's a proxy standing between the client and apisix. Using http_x_real_ip is considerable.

### Description update lua-resty-kafka to 0.23-0 Fixes #11458 ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained...

### Description Released with 0.23-0, this patch https://github.com/doujiang24/lua-resty-kafka/pull/160 fixed several bugs

### Description ``` {% if enabled_plugins["prometheus"] and not enabled_stream_plugins["prometheus"] then %} lua_shared_dict prometheus-metrics {* http.lua_shared_dict["prometheus-metrics"] *}; -- add prometheus-cache here lua_shared_dict prometheus-cache {* http.lua_shared_dict["prometheus-cache"] *}; {% end #%} ``` Maybe...

enhancement
size:XS

### Description ``` {% if enabled_plugins["prometheus"] and not enabled_stream_plugins["prometheus"] then %} lua_shared_dict prometheus-metrics {* http.lua_shared_dict["prometheus-metrics"] *}; -- add prometheus-cache here lua_shared_dict prometheus-cache {* http.lua_shared_dict["prometheus-cache"] *}; {% end #%} ``` Maybe...

enhancement

Directives should be Directive `HeaderWriterLogoutHandler clearSiteData = new HeaderWriterLogoutHandler(new ClearSiteDataHeaderWriter(Directives.ALL))`

status: waiting-for-triage