Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter for dropping cookie from propagated request (e.g. dropRequestCookie) #2349

Closed
oporkka opened this issue May 26, 2023 · 0 comments · Fixed by #2410
Closed

Add filter for dropping cookie from propagated request (e.g. dropRequestCookie) #2349

oporkka opened this issue May 26, 2023 · 0 comments · Fixed by #2410

Comments

@oporkka
Copy link
Member

oporkka commented May 26, 2023

Is your feature request related to a problem? Please describe.

We want to be in control of cookies in our Skipper level, and prevent certain cookies to be propagated to backends.

Describe the solution you would like

A cookie like dropRequestCookie would help us here. It would go through the cookies in the Cookie header, and drop the cookie with the matching name. It would be kind of opposite to requestCookie, which adds a cookie with a certain name and value to the request

Describe alternatives you've considered (optional)

Use requestCookie to set the desired cookie value to an empty string, when propagating the request to the backend. It will avoid big cookie data values to be propagated, although the cookie name will be still propagated.

Would you like to work on it?
Yes, possibly, but little time

@oporkka oporkka changed the title Add filter dropRequestCookie Add filter for dropping cookie from propagated request (e.g. dropRequestCookie) May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants