You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/07 03:58:18 UTC

[GitHub] [apisix] tzssangglass commented on issue #8463: bug: The BUG that was created when the response header was modified using the plugin

tzssangglass commented on issue #8463:
URL: https://github.com/apache/apisix/issues/8463#issuecomment-1340339354

   > I called 'r.R.header ().Add("Set-Cookie", v)' in a browser with a runner,
   
   I think you should be careful with `("Set-Cookie", v)`, here is how to modify the response cookie in APISIX: https://github.com/apache/apisix/blob/master/apisix/plugins/cas-auth.lua#L64-L66
   
   As you can see, only the cookie with a specific name will be modified here.


-- 
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@apisix.apache.org

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