You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2021/09/01 09:28:16 UTC

[GitHub] [incubator-shenyu] qicz opened a new issue #2001: feature common : support external cros filter config.

qicz opened a new issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001


   using `shenyu.cros-filter-config.*` config the cors filter:
   ```yml
   shenyu:
     cros-filter-config:
       allowed-headers: qicz, custom
       allowed-expose: *
       allowed-methods: *
       allowed-origin: *
       max-age: 18000
   ```
   
   the `allowed-headers` default is `x-requested-with, authorization, Content-Type, Authorization, credential, X-XSRF-TOKEN, token, username, client`.
   
    the external config will append to the `allowed-headers`.  the example of `allowed-headers` = `x-requested-with, authorization, Content-Type, Authorization, credential, X-XSRF-TOKEN, token, username, client,  qicz, custom`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] qicz commented on issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
qicz commented on issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001#issuecomment-909297398


   > Hi,maybe you can provider a pr, make cross filter use configuration instead of hard coding
   
   see #2000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] SaberSola commented on issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
SaberSola commented on issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001#issuecomment-909296195


   Hi,maybe you can provider a pr, make cross filter use configuration instead of hard coding


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] qicz commented on issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
qicz commented on issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001#issuecomment-909297398


   > Hi,maybe you can provider a pr, make cross filter use configuration instead of hard coding
   
   see #2000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] yu199195 closed issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
yu199195 closed issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] yu199195 closed issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
yu199195 closed issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] qicz commented on issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
qicz commented on issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001#issuecomment-909297398


   > Hi,maybe you can provider a pr, make cross filter use configuration instead of hard coding
   
   see #2000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] SaberSola commented on issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
SaberSola commented on issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001#issuecomment-909296195


   Hi,maybe you can provider a pr, make cross filter use configuration instead of hard coding


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-shenyu] SaberSola commented on issue #2001: feature common : support external cros filter config.

Posted by GitBox <gi...@apache.org>.
SaberSola commented on issue #2001:
URL: https://github.com/apache/incubator-shenyu/issues/2001#issuecomment-909296195


   Hi,maybe you can provider a pr, make cross filter use configuration instead of hard coding


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org