You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tr...@apache.org on 2023/10/10 21:29:57 UTC

[apisix] branch update-cors-lua-desc created (now 87cebe39f)

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

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


      at 87cebe39f Update cors.lua

This branch includes the following new commits:

     new 87cebe39f Update cors.lua

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[apisix] 01/01: Update cors.lua

Posted by tr...@apache.org.
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 <tr...@gmail.com>
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,