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
Set-Cookie
header not set properly when cookies are modified
#5085
Comments
Thank you for the clear report. Your PR looks great on first sight, it just may take me a bit before I find some time to dig into the relevant parts of the codebase and see if this breaks anything. 👍 |
Alrighty let me know if you need anything along the way :) |
While searching for something entirely unrelated I randomly came across #1512 which I think refs this and can be closed after the PR is merged? It also points towrds HAR dump, so maybe the contrib example addon is affected by this change as well. |
@Prinzhorn This is indeed while working with |
I updated the PR :) |
Yes, but also feel free to just close things if you think they should be closed! 😄 |
Problem Description
Described here #5084
Steps to reproduce the behavior:
Secure
,HttpOnly
...)CookieAttrs
object of said object(value, CookieAttrs)
tuple to theflow.response.cookies
objectSet-Cookie
header set asSecure=; HttpOnly=
System Information
Mitmproxy: 7.0.4
Python: 3.8.10
OpenSSL: OpenSSL 1.1.1l 24 Aug 2021
Platform: Linux-5.11.0-46-generic-x86_64-with-glibc2.29
Pull request
I have created a pull request (#5084) to try to fix the issue, it works well for my use but it might break parts of the app that I'm not aware and/or don't use.
The text was updated successfully, but these errors were encountered: