This is an automated email from the ASF dual-hosted git repository.

traky pushed a commit to branch update-cors-lua-desc
in repository https://gitbox.apache.org/repos/asf/apisix.git

commit 87cebe39f2dcf5b57756b85c4bc3705f55462ecd
Author: Traky Deng <[email protected]>
AuthorDate: Tue Oct 10 14:29:51 2023 -0700

    Update cors.lua
---
 apisix/plugins/cors.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apisix/plugins/cors.lua b/apisix/plugins/cors.lua
index 4f0bfa5d3..f4a59ce5e 100644
--- a/apisix/plugins/cors.lua
+++ b/apisix/plugins/cors.lua
@@ -98,7 +98,7 @@ local schema = {
             type = "array",
             description =
                 "you can use regex to allow specific origins when no 
credentials," ..
-                "for example use [.*\\.test.com] to allow a.test.com and 
b.test.com",
+                "for example use [.*\\.test.com$] to allow a.test.com and 
b.test.com",
             items = {
                 type = "string",
                 minLength = 1,

Reply via email to