zuiyangqingzhou commented on a change in pull request #5890:
URL: https://github.com/apache/apisix/pull/5890#discussion_r774268868
##
File path: apisix/plugins/cors.lua
##
@@ -227,14 +227,15 @@ end
function _M.rewrite(conf, ctx)
+ctx["raw-request-origin"] = core.reques
zuiyangqingzhou commented on a change in pull request #5890:
URL: https://github.com/apache/apisix/pull/5890#discussion_r774403967
##
File path: t/plugin/cors.t
##
@@ -927,3 +927,70 @@ Access-Control-Max-Age:
Access-Control-Allow-Credentials:
--- no_error_log
[error]
+
+
+
+