-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Current Behavior
Reposne_write plugin will delete the server-side cookies
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
- Run apisix
- setup a route looks like this:
"value": {
"host": "aaa.xxx.com",
"plugins": {
"prometheus": {},
"response-rewrite": {
"headers": {
"Set-Cookie": "tagged=23333; Expires=Wed, 11 Sep 2030 08:00:00 GMT"
}
}
},
"uris": [
"/*"
],
"filter_func": "function(vars)\n return true\nend",
"upstream_id": "127",
"name": "-master_r_2022-08-17_3-DEFAULT",
"priority": 0,
"id": "345"
}, - the backend server setup another cookie
- check the response, you will find the server-side cookies were deleted.
Environment
- APISIX version (run
apisix version):1.5 - Operating system (run
uname -a): - OpenResty / Nginx version (run
openresty -Vornginx -V): - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):
Metadata
Metadata
Assignees
Labels
No labels