You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by xi...@apache.org on 2021/10/11 02:59:17 UTC

[incubator-shenyu-website] branch main updated: cross filter document improvement. (#311)

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

xiaoyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 43258f1  cross filter document improvement. (#311)
43258f1 is described below

commit 43258f19d306a404349bc9ce09b6231ff55409d1
Author: Qicz <qi...@gmail.com>
AuthorDate: Mon Oct 11 10:59:10 2021 +0800

    cross filter document improvement. (#311)
---
 docs/user-guide/property-config/gateway-property-config.md            | 4 ++--
 .../current/user-guide/property-config/gateway-property-config.md     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/user-guide/property-config/gateway-property-config.md b/docs/user-guide/property-config/gateway-property-config.md
index 8a3d785..0604a56 100644
--- a/docs/user-guide/property-config/gateway-property-config.md
+++ b/docs/user-guide/property-config/gateway-property-config.md
@@ -164,7 +164,7 @@ File filter properties:
 |:------------------------ |:----- |:-------: |:-------:|:----------------------------|
 | enabled | Boolean |  false  |    No    | enable file size filtering |
 | maxSize | Integer |  10  |    No    | upload file maxSize (MB) |
-     
+
 
 - `shenyu.cross` config
 
@@ -174,7 +174,7 @@ Cross filter properties:
 |Name                      | Type  |  Default   | Required  | Description                        |
 |:------------------------ |:----- |:-------: |:-------:|:----------------------------|
 | enabled | Boolean |  false  |    No    | allow cross-domain requests |
-| allowedHeaders | String |    |    No    | allowedHeaders, Use "," split in multiple cases |
+| allowedHeaders | String | x-requested-with, authorization, Content-Type, Authorization, credential,  X-XSRF-TOKEN, token, username, client |    No    | allowedHeaders, Use "," split in multiple cases. the new "allowedHeaders" will append to "Access-Control-Allow-Headers" based on the default value and remove the reduplicative header. |
 | allowedMethods | String |   "*"  |    No    | allowedMethods |
 | allowedOrigin | String |  "*"  |    No    | allowedOrigin |
 | allowedExpose | String |  "*"  |    No    | allowedExpose |
diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md
index 9611659..39fbc40 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md
@@ -173,7 +173,7 @@ Netty HttpClient 代理的相关配置:
 | 名称    | 类型    | 默认值 | 是否必填 | 说明             |
 | :------ | :------ | :----: | :------: | :--------------- |
 | enabled | Boolean | false  |    否    | 是否支持跨域请求 |
-| allowedHeaders | String |    |    No    | 允许的Header头,多个请用 "," 分割 |
+| allowedHeaders | String | x-requested-with, authorization, Content-Type, Authorization, credential,  X-XSRF-TOKEN, token, username, client |    No    | 允许的Header头,多个请用 "," 分割。新的"allowedHeaders"会在默认值基础上,去除重复的追加到"Access-Control-Allow-Headers"。 |
 | allowedMethods | String |   "*"  |    No    | 允许的方法 |
 | allowedOrigin | String |  "*"  |    No    | 允许的Origin |
 | allowedExpose | String |  "*"  |    No    | 允许的Expose |