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

feature: dropRequestCookie filter #2410

Merged
merged 7 commits into from
Jun 21, 2023
Merged

Conversation

szuecs
Copy link
Member

@szuecs szuecs commented Jun 19, 2023

feature: dropRequestCookie filter

closes #2349

arg: "foo",
cookies: http.Header{
"Cookie": []string{
"foo=foo1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add more test cases that contain multiple cookies per value

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there could also be several cookies with the same name

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@RomanZavodskikh
Copy link
Member

👍

feature: dropResponseCookie

Signed-off-by: Sandor Szücs <[email protected]>
filters/cookie/cookie_test.go Outdated Show resolved Hide resolved
szuecs added 2 commits June 20, 2023 22:18
…delete tests that are not testing the right format

Signed-off-by: Sandor Szücs <[email protected]>
@AlexanderYastrebov
Copy link
Member

👍

1 similar comment
@szuecs
Copy link
Member Author

szuecs commented Jun 21, 2023

👍

@szuecs szuecs merged commit d96746a into master Jun 21, 2023
@szuecs szuecs deleted the feature/drop-request-cookie branch June 21, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add filter for dropping cookie from propagated request (e.g. dropRequestCookie)
3 participants