You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code leads to a request being performed with cookie "name":"value1", which is not what is expected by a user when a user explicitly sets a cookie on a RequestBuilder.
The supplied link puts the commit hash in the wrong place, but the root cause is that it blindly overrides Cookies by using addOrReplaceCookie(cookie) from the CookieStore, but it should only be using addCookie(cookie), which is even then dangerous if it's duplicating.
Expected Behavior
A cookie explicitly specified on a RequestBuilder should take precedence over a cookie stored in cookie jar.
Actual Behavior
This code leads to a request being performed with cookie "name":"value1", which is not what is expected by a user when a user explicitly sets a cookie on a
RequestBuilder
.Root cause
Cookies from cookie jar are overriding cookies coming from the RequestBuilder here
Affected version
2.12.3, 3.0 pre-releases
The text was updated successfully, but these errors were encountered: